/* ==========================================================================
   StopKomar.top — arkusz stylów
   Kierunek: polski przewodnik terenowy. Ciemna zieleń lasu, papier, terakota.
   Fonty hostowane lokalnie (Fraunces + Inter, subset polski).
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/fraunces-pl.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AB, U+00B0, U+00B7, U+00BB, U+00D3, U+00D7, U+00F3,
                 U+2013, U+2014, U+2018, U+2019, U+201A, U+201C, U+201D, U+201E, U+2022, U+2026, U+2030, U+2192, U+2212, U+20AC;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/fraunces-pl-ext.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118, U+0119, U+0141-0144, U+015A, U+015B, U+0179-017C;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-pl.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AB, U+00B0, U+00B7, U+00BB, U+00D3, U+00D7, U+00F3,
                 U+2013, U+2014, U+2018, U+2019, U+201A, U+201C, U+201D, U+201E, U+2022, U+2026, U+2030, U+2192, U+2212, U+20AC;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-pl-ext.woff2) format('woff2');
  unicode-range: U+0104-0107, U+0118, U+0119, U+0141-0144, U+015A, U+015B, U+0179-017C;
}

/* --- Tokeny -------------------------------------------------------------- */
:root {
  /* las */
  --forest: #0a2a1e;
  --forest-2: #0e3828;
  --forest-ink: #062016;
  --green: #14543f;
  --green-dark: #0d3b2c;
  --green-tint: #e5efe8;
  /* papier */
  --paper: #f5f2e9;
  --paper-2: #efebdf;
  --card: #ffffff;
  /* tusz */
  --ink: #16241d;
  --ink-2: #3f5248;
  --muted: #5a6e63;
  --line: #e0dccf;
  --line-2: #cbc5b3;
  /* akcent */
  --clay: #9c4718;
  --clay-soft: #f3e4d8;
  --gold: #8a6b1f;
  --gold-bg: #faf3e2;
  --gold-line: #e3d2a8;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --sh-2: 0 6px 24px rgba(10, 42, 30, .09);
  --sh-3: 0 18px 48px rgba(10, 42, 30, .16);

  --maxw: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.1rem, .7rem + 1.5vw, 2rem);

  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ziarno (nakładka tekstury) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .18vw, 1.0625rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; line-height: 1.2; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li::marker { color: var(--clay); }
strong { font-weight: 650; }

a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--surface { background: var(--card); border-block: 1px solid var(--line); }
.section--paper2 { background: var(--paper-2); }
.section__head { max-width: 58ch; margin-bottom: clamp(2rem, 1.3rem + 2.2vw, 3rem); }
.section__head p { color: var(--ink-2); margin-bottom: 0; font-size: 1.0625em; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.center { text-align: center; }

.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line-2); max-width: 90px; }
.eyebrow--light { color: #e8c9a8; }
.eyebrow--light::after { background: rgba(255,255,255,.25); }

/* --- Skip link ----------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--forest); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 0; }

/* --- Nagłówek ------------------------------------------------------------ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,242,233,.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; text-decoration: none; color: var(--ink); }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__name { font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; display: block; }
.logo__sub { display: block; font-size: .6875rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; margin-top: .22rem; }
.logo:hover .logo__name { color: var(--clay); }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  display: block; padding: .5rem .75rem; color: var(--ink-2); text-decoration: none;
  font-size: .875rem; font-weight: 550; letter-spacing: .02em;
}
.nav a:hover { color: var(--clay); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--clay); }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header__inner { position: relative; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1rem; box-shadow: var(--sh-2);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--clay); }
}
@media (max-width: 560px) { .header__actions { display: none; } .logo__sub { display: none; } }

/* --- Hero (ciemny las) ---------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest);
  color: #eaf1ec;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(32, 96, 70, .9) 0%, rgba(10, 42, 30, 0) 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(156, 71, 24, .25) 0%, rgba(10, 42, 30, 0) 65%),
    var(--forest);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .16; mix-blend-mode: overlay;
}
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: #f0b588; }
.hero__sub { max-width: 46ch; color: #b9cdc1; font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); }
.hero__facts { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero__facts li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  margin: 0; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.14);
  color: #cbdcd2; font-size: .9375rem;
}
.hero__facts svg { margin-top: .28rem; color: #86c7a5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero__price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1.25rem; flex-wrap: wrap; color: #fff; }
.hero__price b { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.hero__note { font-size: .8125rem; color: #9ab3a6; margin-top: 1.1rem; max-width: 46ch; }
.hero .byline { color: #93aa9e; }
.hero .byline__dot { background: rgba(255,255,255,.3); }

/* karta produktu w hero: biały papier na ciemnym tle */
.hero__media { position: relative; }
.hero__media figure { margin: 0; background: var(--card); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 3vw, 3rem); box-shadow: var(--sh-3); }
.hero__media img { margin-inline: auto; width: auto; max-height: 300px; mix-blend-mode: multiply; }
.hero__media figcaption { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); text-align: center; }
.stamp {
  position: absolute; top: -18px; right: -10px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--clay); color: #fff; display: grid; place-content: center; text-align: center;
  box-shadow: var(--sh-2); transform: rotate(-8deg);
}
.stamp b { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stamp span { display: block; font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-top: .25rem; }
@media (max-width: 939px) {
  .hero__media { order: -1; }
  .hero__media figure { padding: 1.1rem; }
  .hero__media img { max-height: 118px; }
  .hero__media figcaption { margin-top: .75rem; padding-top: .7rem; font-size: .75rem; }
  .hero { padding-block: 1.75rem 2.5rem; }
  .stamp { width: 72px; height: 72px; top: -14px; right: -4px; }
  .stamp b { font-size: .9rem; }
}

/* --- Pasek zaufania ------------------------------------------------------- */
.trustbar { background: var(--forest-ink); color: #b7cdc0; position: relative; isolation: isolate; overflow: hidden; }
.trustbar::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; }
.trustbar ul { list-style: none; margin: 0; padding: .85rem 0; display: grid; gap: .55rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .trustbar ul { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 719px) { .trustbar li:nth-child(n+3) { display: none; } }
.trustbar li { display: flex; gap: .55rem; align-items: center; margin: 0; font-size: .78125rem; color: #b7cdc0; line-height: 1.4; letter-spacing: .015em; }
.trustbar svg { flex: none; color: #e09b62; }

/* --- Przyciski ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .75rem 1.5rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  font: inherit; font-weight: 650; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 2px 0 #6d3210; }
.btn--primary:hover { background: #843c13; color: #fff; transform: translateY(-1px); box-shadow: 0 3px 0 #6d3210, var(--sh-2); }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 1px 0 #6d3210; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 1.0625rem; padding-inline: 1.75rem; }
.btn--sm { min-height: 42px; font-size: .875rem; padding: .4rem 1rem; }
.btn svg { flex: none; opacity: .85; }
/* na ciemnym tle */
.hero .btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* --- Siatki --------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }

.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step__num {
  font-family: var(--display); font-size: 1.75rem; font-weight: 800; color: var(--clay);
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}

/* --- Karta produktu (ranking) --------------------------------------------- */
.product-card {
  position: relative; display: grid; grid-template-columns: 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.product-card:hover { box-shadow: var(--sh-3); transform: translateY(-3px); }
.product-card--top { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.product-card__rank {
  position: absolute; top: 0; left: 1.25rem; z-index: 2;
  font-family: var(--display); font-size: 2.5rem; font-weight: 800; line-height: 1;
  color: var(--clay); opacity: .22; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.ribbon {
  position: absolute; top: 0; right: 0; z-index: 2;
  background: var(--clay); color: #fff; font-size: .6875rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; padding: .35rem .85rem;
  border-bottom-left-radius: var(--r);
}
.product-card__media {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--card) 100%);
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.25rem 1.5rem; display: grid; place-items: center; min-height: 230px;
}
.product-card__media img { width: auto; max-width: 100%; max-height: 180px; mix-blend-mode: multiply; }
.product-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 1.25rem; margin-bottom: .6rem; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { color: var(--clay); }
.product-card__desc { color: var(--ink-2); font-size: .9375rem; margin-bottom: 1.1rem; }
.product-card__foot { margin-top: auto; display: grid; gap: .75rem; }
.product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; padding-top: 1rem; border-top: 2px solid var(--ink); }
.product-card__price b { font-family: var(--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-unit { color: var(--muted); font-size: .78125rem; letter-spacing: .02em; }

/* --- Chipy ---------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-block; padding: .22rem .6rem; border-radius: 3px;
  background: var(--green-tint); border: 1px solid #d3e2d8;
  font-size: .75rem; font-weight: 550; color: var(--green-dark); letter-spacing: .02em; white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 3px;
  background: var(--clay-soft); color: #8c400f; border: 1px solid #e6c7af;
  font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}

/* --- Strona produktu ------------------------------------------------------ */
.pdp h1 { font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem); }
.pdp { display: grid; gap: clamp(2rem, 1rem + 3.5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .pdp { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.pdp__media { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 3vw, 3rem); position: sticky; top: 90px; }
.pdp__media img { margin-inline: auto; max-width: 290px; width: 100%; mix-blend-mode: multiply; }
@media (max-width: 939px) { .pdp__media { position: static; } .pdp__media img { max-width: 210px; } }
.pdp__buy { border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 1.5rem; background: var(--card); margin-top: 1.75rem; }
.pdp__price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .35rem; flex-wrap: wrap; }
.pdp__price b { font-family: var(--display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.pdp__row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.pdp__specs { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0 0 1rem; }
.pdp__specs th, .pdp__specs td { text-align: left; padding: .75rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; font-size: .9375rem; }
.pdp__specs th { width: 42%; font-weight: 550; color: var(--muted); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; padding-top: .95rem; }

/* --- Metodologia ---------------------------------------------------------- */
.method ol { counter-reset: m; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .method ol { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.method li { margin: 0; padding-top: 1.1rem; border-top: 2px solid var(--ink); color: var(--ink-2); font-size: .9375rem; position: relative; }
.method li::before {
  counter-increment: m; content: "0" counter(m);
  display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--clay);
  letter-spacing: -.03em; margin-bottom: .4rem;
}
.method li b { display: block; color: var(--ink); font-family: var(--sans); font-size: 1rem; font-weight: 650; margin-bottom: .35rem; }
.byline { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 0; align-items: center; color: var(--muted); font-size: .8125rem; letter-spacing: .03em; margin-bottom: 1.6rem; text-transform: uppercase; }
.byline__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 560px) { .byline__dot { display: none; } }

/* --- Ciemny pas CTA -------------------------------------------------------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest-2); color: #e8f0eb;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; }
.band h2 { color: #fff; }
.band p { color: #bdd1c6; }
.band .btn--primary { box-shadow: 0 2px 0 #6d3210; }

/* --- Notki ---------------------------------------------------------------- */
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 1.15rem 1.3rem; font-size: .9375rem; color: var(--ink-2); }
.note p:last-child { margin-bottom: 0; }
.note--warn { background: var(--gold-bg); border-color: var(--gold-line); border-left-color: var(--gold); color: #6b5315; }
.note--warn strong { color: var(--gold); }

/* --- FAQ ------------------------------------------------------------------- */
.faq { max-width: 76ch; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; padding: 1.15rem 0; font-weight: 600; font-size: 1.0625rem; min-height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay); }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--clay); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--ink-2); font-size: .9375rem; max-width: 68ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Okruszki -------------------------------------------------------------- */
.breadcrumbs { font-size: .75rem; color: var(--muted); padding-top: 1.1rem; letter-spacing: .05em; text-transform: uppercase; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li::after { content: "/"; margin-left: .45rem; color: var(--line-2); }
.breadcrumbs li:last-child::after { content: ""; }

/* --- Tabele ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; background: var(--card); }
table.data th, table.data td { padding: .95rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
table.data thead th { background: var(--forest); color: #d6e5db; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-bottom: 0; }
table.data tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
table.data tbody tr:hover { background: var(--paper-2); }
table.data td:first-child { font-weight: 600; }
table.data td { font-variant-numeric: tabular-nums; }

/* --- Formularze ------------------------------------------------------------ */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field > label { font-weight: 600; font-size: .875rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.field__hint { font-size: .875rem; color: var(--muted); margin: 0; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: var(--card);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-soft); outline: none; }
.choice { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--line); padding: .95rem 1rem; background: var(--card); border-radius: var(--r-sm); }
.choice input { margin-top: .2rem; width: 20px; height: 20px; flex: none; accent-color: var(--clay); }

/* --- Stopka ---------------------------------------------------------------- */
.footer { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-ink); color: #a9c1b4; padding-block: clamp(3rem, 2rem + 2.5vw, 4rem); font-size: .9375rem; }
.footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; }
.footer a { color: #fff; text-decoration-color: rgba(255,255,255,.3); }
.footer a:hover { color: #f0b588; }
.footer h2 { font-family: var(--display); color: #fff; font-size: 1.5rem; font-weight: 800; }
.footer h3 { color: #fff; font-size: .75rem; font-family: var(--sans); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3.5rem; } }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; color: #7f978a; font-size: .78125rem; line-height: 1.65; }
.footer__bottom p { margin-bottom: .55em; }
.footer__bottom p:last-child { margin-bottom: 0; }

/* --- Strona przekierowania -------------------------------------------------- */
.redirect { min-height: 100vh; display: grid; place-items: center; padding: var(--pad); background: var(--forest); color: #e8f0eb; position: relative; isolation: isolate; }
.redirect::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; }
.redirect__box { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.75rem, 1rem + 3vw, 3rem); max-width: 34rem; text-align: center; box-shadow: var(--sh-3); }
.redirect__spinner { width: 34px; height: 34px; margin: 0 auto 1.25rem; border-radius: 50%; border: 3px solid var(--paper-2); border-top-color: var(--clay); animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Wejście strony (choreografia) ------------------------------------------ */
.reveal { opacity: 0; animation: riseIn .7s var(--ease) forwards; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .14s; }
.reveal-3 { animation-delay: .23s; }
.reveal-4 { animation-delay: .32s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.stack > * + * { margin-top: 1.25rem; }

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