/* =========================================================
   NAM Szkolenia — homepage 2026
   Hand-drawn / watercolour design system
   ========================================================= */

@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root {
  --paper: #FBF7F0;
  --paper-2: #F4EDE1;
  --paper-3: #FFFDF9;
  --sand: #EADFCB;
  --ink: #3A2E26;
  --ink-soft: #5E4F44;
  --muted: #8A7A6C;
  --brown: #5B4636;
  --brown-deep: #3E3128;
  --taupe: #A68F74;
  --sage-light: #D1D0B6;
  --sage: #A9B293;
  --sage-deep: #6F7C5B;
  --teal: #7FA7A3;
  --teal-deep: #3F6F6B;
  --gold: #C9A45C;
  --blush: #EFD9CF;
  --rose: #B5574B;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Signika", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;

  --maxw: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --header-h: 84px;
  --shadow-soft: 0 18px 50px -24px rgba(74, 52, 34, .35);
  --shadow-card: 0 2px 0 rgba(166, 143, 116, .12), 0 24px 60px -30px rgba(74, 52, 34, .38);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .27 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; color: var(--brown); line-height: 1; }
.section-title .script { font-size: 1.22em; display: inline-block; transform: translateY(.06em); padding-inline: .04em; }
/* wielkie litery (NAM, NAS) nie wyglądają dobrze w kroju odręcznym — składamy je szeryfową kursywą */
.script .caps { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: .74em; letter-spacing: .01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-deep); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 4px rgba(111, 124, 91, .18); animation: pulse 2.6s ease-in-out infinite; }
.hero-eyebrow::before { display: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(111, 124, 91, 0); } }

.tag { display: inline-block; font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--sage-light); color: var(--sage-deep); line-height: 1.3; vertical-align: middle; }
.tag-new { background: #E3ECE6; color: var(--teal-deep); }
.tag-hot { background: var(--blush); color: var(--rose); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--brown); --fg: #FFF8EE;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 15.5px; line-height: 1.2;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { box-shadow: 0 12px 26px -12px rgba(62, 49, 40, .65); }
.btn-primary:hover { --bg: var(--brown-deep); box-shadow: 0 18px 34px -14px rgba(62, 49, 40, .7); }
.btn-ghost { --bg: rgba(255, 253, 249, .7); --fg: var(--brown); box-shadow: inset 0 0 0 1.5px rgba(91, 70, 54, .3); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: #fff; --fg: var(--brown-deep); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--brown);
  box-shadow: inset 0 0 0 1.5px rgba(166, 143, 116, .35), 0 8px 20px -12px rgba(74, 52, 34, .4);
  transition: transform .3s var(--ease-out), background .3s;
}
.round-btn:hover { transform: translateY(-2px); background: var(--brown); color: #fff; }
.carousel-nav { display: flex; gap: 10px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s;
}
.site-header.is-scrolled { background: rgba(251, 247, 240, .86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 rgba(166, 143, 116, .22), 0 10px 30px -20px rgba(74, 52, 34, .3); --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 180px; height: auto; transition: width .4s; }
.is-scrolled .brand img { width: 156px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background .25s, color .25s;
}
.nav-link:hover, .mega-toggle[aria-expanded="true"] { background: rgba(166, 143, 116, .14); color: var(--brown-deep); }
.mega-toggle svg { transition: transform .3s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 640px; padding: 14px;
  background: rgba(255, 253, 249, .97); backdrop-filter: blur(16px); border-radius: 24px;
  box-shadow: 0 30px 70px -30px rgba(74, 52, 34, .45), inset 0 0 0 1px rgba(166, 143, 116, .2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .35s var(--ease-out), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background .25s; }
.mega-item:hover { background: var(--paper-2); color: var(--ink); }
.mega-item img { width: 64px; height: 52px; object-fit: cover; border-radius: 12px; flex: none; }
.mega-item strong { display: block; font-size: 15px; }
.mega-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone svg { color: var(--teal-deep); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .8); box-shadow: inset 0 0 0 1.5px rgba(166, 143, 116, .35); cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; overflow-y: auto; padding: calc(var(--header-h) + 8px) var(--pad) 40px;
  background: var(--paper); background-image: var(--noise);
  opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu-sprig { position: absolute; right: -40px; bottom: -30px; width: 240px; opacity: .55; pointer-events: none; }
.mobile-menu-label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 12px; }
.mobile-menu-cats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-menu-cats a { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.mobile-menu-cats img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
.mobile-menu-links { list-style: none; padding: 0; margin: 0 0 24px; }
.mobile-menu-links a { display: block; padding: 13px 4px; border-bottom: 1px dashed rgba(166, 143, 116, .4); font-family: var(--font-display); font-size: 24px; color: var(--ink); text-decoration: none; }
.mobile-menu-phone { display: block; text-align: center; margin-top: 16px; font-weight: 700; text-decoration: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(560px, calc(100svh - var(--trust-h, 110px)));   /* pasek BUR ma być widoczny na pierwszym ekranie */
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--paper);
}
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero.is-gl .hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; }
.hero-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 60%) 50%; opacity: 0; transition: opacity 1.6s ease; }
.hero-fallback img.is-active { opacity: 1; }
.hero.is-gl .hero-fallback { opacity: 0; transition: opacity 1.2s ease; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 247, 240, .97) 0%, rgba(251, 247, 240, .93) 27%, rgba(251, 247, 240, .66) 42%, rgba(251, 247, 240, .14) 56%, rgba(251, 247, 240, 0) 64%),
    linear-gradient(0deg, rgba(251, 247, 240, .85) 0%, rgba(251, 247, 240, 0) 16%),
    linear-gradient(180deg, rgba(251, 247, 240, .7) 0%, rgba(251, 247, 240, 0) 18%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(55% 60% at 78% 8%, rgba(255, 232, 190, .9), rgba(255, 232, 190, 0) 70%);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .55; } to { opacity: 1; } }
.hero-motes { position: absolute; inset: 0; pointer-events: none; }
.hero-motes i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 224, .95), rgba(255, 231, 186, 0) 70%);
  animation: mote 14s linear infinite; opacity: 0;
}
.hero-motes i:nth-child(1) { left: 58%; top: 70%; animation-delay: 0s; }
.hero-motes i:nth-child(2) { left: 66%; top: 80%; animation-delay: -3s; width: 9px; height: 9px; }
.hero-motes i:nth-child(3) { left: 74%; top: 64%; animation-delay: -6s; }
.hero-motes i:nth-child(4) { left: 82%; top: 76%; animation-delay: -9s; width: 4px; height: 4px; }
.hero-motes i:nth-child(5) { left: 90%; top: 58%; animation-delay: -2s; width: 8px; height: 8px; }
.hero-motes i:nth-child(6) { left: 62%; top: 52%; animation-delay: -11s; }
.hero-motes i:nth-child(7) { left: 70%; top: 40%; animation-delay: -7s; width: 5px; height: 5px; }
.hero-motes i:nth-child(8) { left: 86%; top: 34%; animation-delay: -4s; width: 10px; height: 10px; }
.hero-motes i:nth-child(9) { left: 52%; top: 84%; animation-delay: -12s; }
.hero-motes i:nth-child(10) { left: 94%; top: 86%; animation-delay: -8s; width: 7px; height: 7px; }
@keyframes mote {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  12% { opacity: .9; }
  80% { opacity: .7; }
  100% { transform: translate(-40px, -260px) scale(1.1); opacity: 0; }
}

.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 620px; padding-block: 12px 118px; }
.hero-title { font-size: clamp(44px, 5.3vw, 84px); line-height: .98; letter-spacing: -.025em; margin: 0 0 22px; font-weight: 500; }
.hero-title-line { display: block; }
.hero-title-line:nth-child(2) { font-style: italic; font-weight: 400; color: var(--brown); }
.hero-script {
  position: relative; display: block; margin-top: .14em; height: 1.12em;
  font-family: var(--font-script); font-size: .82em; letter-spacing: 0; font-style: normal; font-weight: 400;
  color: var(--teal-deep); line-height: 1.1;
}
.hero-script-word {
  display: inline-block; white-space: nowrap; padding-right: .3em;
  -webkit-mask-image: linear-gradient(90deg, #000 var(--p), transparent calc(var(--p) + 14%));
          mask-image: linear-gradient(90deg, #000 var(--p), transparent calc(var(--p) + 14%));
  --p: 110%;
}
.hero-script-word[data-state="in"] { animation: writeIn 1.5s cubic-bezier(.45, .05, .25, 1) both; }
.hero-script-word[data-state="out"] { animation: writeOut .45s ease both; }
@keyframes writeIn { from { --p: -14%; } to { --p: 110%; } }
@keyframes writeOut { to { opacity: 0; filter: blur(4px); transform: translateY(-6px); } }
.hero-swash { position: absolute; left: 0; bottom: -.12em; width: min(100%, 6.2em); height: .26em; color: var(--gold); opacity: .8; overflow: visible; }
.hero-swash path { stroke-dasharray: 360; stroke-dashoffset: 360; }
.hero-script.is-drawn .hero-swash path { animation: swash 1.3s .55s var(--ease-out) forwards; }
@keyframes swash { to { stroke-dashoffset: 0; } }

.hero-lead { font-size: clamp(16.5px, 1.35vw, 19px); max-width: 520px; margin-bottom: 30px; color: var(--ink-soft); }
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-proof li { display: flex; flex-direction: column; line-height: 1.25; }
.hero-proof strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--ink); }
.hero-proof span { font-size: 13px; color: var(--muted); font-weight: 600; max-width: 130px; }

/* intro animation */
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .15s; }
.hero-copy > *:nth-child(2) { animation-delay: .28s; }
.hero-copy > *:nth-child(3) { animation-delay: .5s; }
.hero-copy > *:nth-child(4) { animation-delay: .62s; }
.hero-copy > *:nth-child(5) { animation-delay: .74s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* cast (heroines) */
.hero-cast {
  position: absolute; z-index: 1; pointer-events: none;
  right: clamp(16px, 6vw, 120px); bottom: clamp(18px, 3.4vh, 42px);
  height: min(calc(100% - var(--header-h) - 70px), 820px, calc((100vw - 700px) * 1.53)); aspect-ratio: 978 / 1500;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -6px), 0);
  transition: transform .9s var(--ease-out);
  animation: castIn 1.4s .35s var(--ease-out) both;
}
@keyframes castIn { from { opacity: 0; transform: translate3d(30px, 20px, 0) scale(.97); } }
.hero-trio { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; animation: breathe 6.5s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(70, 48, 30, .14)); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.007) translateY(-2px); } }
.hero-shadow { position: absolute; left: 6%; right: 6%; bottom: -2.4%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(84, 60, 40, .36), rgba(84, 60, 40, 0)); filter: blur(4px); }

.hero-badges { position: absolute; inset: 0; z-index: 2; }
.world-badge {
  position: absolute; margin: 0; width: clamp(92px, 8.6vw, 130px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  transition: opacity .45s ease, transform .5s ease;
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px), 0) scale(.55);
}
.world-badge.is-active { opacity: 1; transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -14px), 0) scale(1); transition: opacity .6s ease .35s, transform .9s var(--ease-spring) .35s; }
.world-badge.b-right.is-active { transition-delay: .55s; }
.world-badge.b-left { left: -17%; top: 30%; }
.world-badge.b-right { right: -9%; top: 17%; }
.badge-disc {
  width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: 15%;
  background: radial-gradient(circle at 35% 30%, #fff, #FBF4E8 70%);
  box-shadow: 0 16px 34px -14px rgba(84, 58, 36, .5), inset 0 0 0 1.5px rgba(201, 164, 92, .35), 0 0 0 6px rgba(255, 253, 249, .45);
  animation: bob 5s ease-in-out infinite;
}
.b-right .badge-disc { animation-delay: -2.5s; }
.badge-disc img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes bob { 50% { transform: translateY(-7px) rotate(2deg); } }
.world-badge figcaption {
  font-size: 11.5px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--brown-deep);
  background: rgba(255, 253, 249, .94); padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(84, 58, 36, .5); white-space: nowrap;
}

/* world tabs */
.hero-worlds {
  position: absolute; z-index: 3; bottom: 26px;
  left: max(var(--pad), calc((100vw - var(--maxw)) / 2));
  display: flex; gap: 4px; padding: 6px;
  background: rgba(255, 253, 249, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 14px 40px -22px rgba(74, 52, 34, .5), inset 0 0 0 1px rgba(166, 143, 116, .22);
  animation: rise 1s .9s var(--ease-out) both;
}
.world-tab {
  position: relative; border: 0; background: none; cursor: pointer;
  padding: 10px 16px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted);
  transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap;
}
.world-tab:hover { color: var(--ink); }
.world-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(74, 52, 34, .45); }
.world-tab-bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(166, 143, 116, .2); opacity: 0; overflow: hidden; }
.world-tab.is-active .world-tab-bar { opacity: 1; }
.world-tab-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--brown)); }
.world-tab.is-active .world-tab-bar i { animation: tabfill var(--dur, 7s) linear forwards; }
.hero.is-paused .world-tab.is-active .world-tab-bar i { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }


/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); isolation: isolate; }
.section::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .7; pointer-events: none; }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.section-head-row .eyebrow { justify-content: flex-start; }
.section-head-row .section-title { margin-bottom: 0; }
.section-title { font-size: clamp(36px, 4.5vw, 62px); }
.section-lead { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink-soft); margin: 0 auto; max-width: 640px; }

.wash { position: absolute; z-index: -1; pointer-events: none; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; filter: blur(2px); opacity: .75; }
.wash-sage { inset: 6% 4% 4% 6%; background: radial-gradient(closest-side, rgba(209, 208, 182, .9), rgba(209, 208, 182, 0)); }
.wash-gold { inset: 14% 2% 6% 8%; background: radial-gradient(closest-side, rgba(234, 213, 168, .85), rgba(234, 213, 168, 0)); }
.wash-teal { inset: 8% 0 6% 4%; background: radial-gradient(closest-side, rgba(170, 202, 197, .7), rgba(170, 202, 197, 0)); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.paint-in img, img.paint-in {
  -webkit-mask-image: radial-gradient(circle at 50% 58%, #000 var(--r), transparent calc(var(--r) + 18%));
          mask-image: radial-gradient(circle at 50% 58%, #000 var(--r), transparent calc(var(--r) + 18%));
  transition: --r 1.8s cubic-bezier(.3, .6, .2, 1) var(--d, 0s);
}
.is-in.paint-in img, .is-in img.paint-in, .is-in .paint-in img { --r: 120%; }

/* ---------- trust ---------- */
.trust { background: var(--paper-2); border-block: 1px solid rgba(166, 143, 116, .18); padding: 22px 0; position: relative; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.trust-text { margin: 0; font-size: 15.5px; max-width: 640px; }
.trust-text strong { color: var(--ink); }
.trust-logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: center; }
.trust-logos li { height: 64px; padding: 6px 14px; display: grid; place-items: center; background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); }
.trust-logos img { max-height: 52px; width: auto; }

/* ---------- worlds / categories ---------- */
.worlds { background: var(--paper); }
.world-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.world-card {
  display: flex; flex-direction: column; background: var(--paper-3); border-radius: var(--radius);
  text-decoration: none; color: var(--ink-soft); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .9s ease var(--d, 0s);
}
.world-card:hover { transform: translateY(-8px); box-shadow: 0 2px 0 rgba(166, 143, 116, .12), 0 40px 70px -34px rgba(74, 52, 34, .5); color: var(--ink-soft); }
.world-card-media { margin: 10px 10px 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.world-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.world-card:hover .world-card-media img { transform: scale(1.06); }
.world-card-body { padding: 22px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.world-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.world-card h3 { font-size: clamp(26px, 2.3vw, 32px); margin-bottom: 10px; }
.world-card p { font-size: 15.5px; line-height: 1.6; }
.world-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--brown); }
.world-card-link svg { transition: transform .35s var(--ease-out); }
.world-card:hover .world-card-link svg { transform: translateX(5px); }

.swipe-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin: -6px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.swipe-hint svg { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.custom-offer {
  margin-top: clamp(56px, 7vw, 96px); position: relative;
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px);
  border-radius: 40px; background: linear-gradient(120deg, #F1E8D8 0%, #EEF0E4 55%, #E5EEEA 100%);
  box-shadow: inset 0 0 0 1px rgba(166, 143, 116, .2);
}
.custom-offer-art { width: 100%; max-height: 440px; object-fit: contain; margin-top: -110px; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.custom-offer h3 { font-size: clamp(26px, 2.6vw, 38px); }
.custom-offer-script { font-size: clamp(34px, 3.4vw, 48px); color: var(--teal-deep); margin: 6px 0 24px; }

/* ---------- problems ---------- */
.problems { background: var(--paper-2); }
.problems-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.problems-art { position: relative; }
.before-after { position: relative; margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 1100 / 821;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { -webkit-mask-image: radial-gradient(circle at 46% 46%, #000 var(--r), transparent calc(var(--r) + 16%)); mask-image: radial-gradient(circle at 46% 46%, #000 var(--r), transparent calc(var(--r) + 16%)); transition: --r 2.2s cubic-bezier(.3, .6, .2, 1); }
.problems-art.is-calm .ba-after { --r: 130%; }
.ba-caption { text-align: center; font-size: clamp(30px, 3vw, 42px); color: var(--brown); margin: 8px 0 0; position: relative; height: 1.2em; }
.ba-caption > span { position: absolute; inset: 0; transition: opacity .8s ease, transform .8s var(--ease-out); }
.ba-cap-after { opacity: 0; transform: translateY(10px); color: var(--teal-deep); }
.is-calm .ba-cap-before { opacity: 0; transform: translateY(-10px); }
.is-calm .ba-cap-after { opacity: 1; transform: none; }

.problem-list { list-style: none; padding: 0; margin: 0 0 28px; }
.problem-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1.5px dashed rgba(166, 143, 116, .35); }
.problem-list li:first-child { border-top: 1.5px dashed rgba(166, 143, 116, .35); }
.problem-list strong { display: block; color: var(--ink); font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.problem-list span:not(.mark) { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose); transition: background .6s ease, color .6s ease, transform .6s var(--ease-spring); }
.mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark .x { stroke-dasharray: 16; stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease; }
.mark .v { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .5s ease .3s; }
.problem-list li.is-solved .mark { background: #E1EAD9; color: var(--sage-deep); transform: scale(1.08) rotate(-6deg); }
.problem-list li.is-solved .mark .x { stroke-dashoffset: 16; }
.problem-list li.is-solved .mark .v { stroke-dashoffset: 0; }
.problems-after { font-size: 17px; }
.problems-after strong { color: var(--ink); }

/* ---------- solution ---------- */
.solution { background: var(--paper); overflow: hidden; }
.solution-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.solution-copy .section-title { margin-bottom: 26px; }
.solution-copy p { font-size: 17.5px; max-width: 560px; }
.solution-copy em { font-family: var(--font-display); font-style: italic; color: var(--brown); font-size: 1.08em; }
.solution-copy .btn { margin-top: 10px; }
.solution-art { position: relative; display: flex; justify-content: center; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 99%); mask-image: linear-gradient(180deg, #000 80%, transparent 99%); }
.solution-art img { max-height: 640px; width: auto; filter: drop-shadow(0 26px 30px rgba(70, 48, 30, .16)); }

/* ---------- benefits ---------- */
.benefits { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.benefit { background: var(--paper-3); border-radius: var(--radius); padding: 34px 30px 36px; text-align: center; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.benefit::after { content: ""; position: absolute; left: 50%; top: 28px; width: 170px; height: 150px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(209, 208, 182, .55), transparent); z-index: 0; }
.benefit > * { position: relative; z-index: 1; }
.benefit img { height: 128px; width: auto; margin: 0 auto 22px; transition: transform .8s var(--ease-spring); }
.benefit:hover img { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.benefit h3 { font-size: 27px; }
.benefit p { font-size: 15.5px; margin: 0; }

/* ---------- steps ---------- */
.steps { background: var(--paper-2); overflow: hidden; }
.steps-track { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); }
.steps-path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.steps-path path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.steps-path-base { stroke: rgba(166, 143, 116, .45); stroke-width: 2; stroke-dasharray: 2 10; }
.steps-path-draw { stroke: var(--gold); stroke-width: 2.5; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.step-reverse .step-art { order: 2; }
.step-art { position: relative; display: flex; justify-content: center; }
.step-art::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 253, 249, .95), rgba(255, 253, 249, 0)); z-index: -1; }
.step-art img { max-width: min(100%, 480px); filter: drop-shadow(0 20px 24px rgba(70, 48, 30, .14)); }
.step-copy { max-width: 470px; background: rgba(255, 253, 249, .78); backdrop-filter: blur(6px); padding: 30px 34px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.step-num { display: block; font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: 1; color: var(--taupe); margin-bottom: 10px; }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); }
.step p { margin: 0; font-size: 16px; }
.steps-cta { text-align: center; margin-top: clamp(44px, 6vw, 72px); }

/* ---------- news ---------- */
.news { background: var(--paper); }
.news .section-head { margin-bottom: 36px; }
.news-track, .testi-track {
  display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 10px max(var(--pad), calc((100vw - var(--maxw)) / 2)) 30px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--maxw)) / 2));
}
.news-track::-webkit-scrollbar, .testi-track::-webkit-scrollbar { display: none; }
.news-track { grid-auto-columns: clamp(260px, 24vw, 300px); }
.news-card { scroll-snap-align: start; background: var(--paper-3); border-radius: 26px; padding: 14px 14px 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .45s var(--ease-out); }
.news-card:hover { transform: translateY(-6px); }
.news-art { aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 50% 55%, #fff 0%, var(--paper-2) 75%); padding: 16px; margin-bottom: 16px; }
.news-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease-spring); }
.news-card:hover .news-art img { transform: scale(1.06) rotate(-2deg); }
.news-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 10px 6px; }
.news-card h3 { font-size: 21px; margin: 0 10px 8px; line-height: 1.18; }
.news-card p:last-child { font-size: 14.5px; line-height: 1.55; margin: 0 10px; color: var(--muted); }
.news-foot p { text-align: center; max-width: 820px; margin: 8px auto 0; font-size: 15.5px; color: var(--muted); }
.news-foot strong { color: var(--ink-soft); }

/* ---------- why ---------- */
.why { background: var(--paper-2); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why-art { position: relative; }
.why-art img { border-radius: 260px 260px 36px 36px; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 50% 82%; box-shadow: var(--shadow-soft); }
.why-copy > p { font-size: 17.5px; max-width: 580px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.stat { background: var(--paper-3); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow-card); }
.stat dt { font-family: var(--font-display); font-size: clamp(32px, 3vw, 42px); color: var(--ink); line-height: 1.05; }
.stat dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.why-quote { margin: 0; }
.why-quote p { font-size: clamp(42px, 4.4vw, 64px); color: var(--brown); margin: 0; }
.why-quote footer { font-size: 16px; color: var(--muted); padding-left: .3em; }

/* ---------- team ---------- */
.team { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.person { text-align: center; }
.person-photo { position: relative; margin: 0 auto 26px; max-width: 320px; }
.person-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow-soft); background: var(--paper-2); }
.person-photo::before { content: ""; position: absolute; inset: -10px -10px 40% -10px; border-radius: 999px 999px 0 0; border: 1.5px solid rgba(166, 143, 116, .35); border-bottom: 0; }
.person-head { position: absolute; right: -8px; bottom: -14px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 5px solid var(--paper); box-shadow: 0 12px 26px -12px rgba(74, 52, 34, .6); transform: rotate(6deg); transition: transform .6s var(--ease-spring); }
.person:hover .person-head { transform: rotate(-4deg) scale(1.12); }
.person h3 { font-size: 27px; margin-bottom: 4px; }
.person-role { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.person > p:not(.person-role):not(.person-motto) { font-size: 15.5px; max-width: 360px; margin-inline: auto; }
.person-motto { font-size: 30px; margin: 4px 0 0; }
.team-more { text-align: center; margin: 40px 0 0; }

/* ---------- testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #EEF0E5 0%, var(--paper-2) 100%); overflow: hidden; }
.testi-sprig { position: absolute; right: -30px; top: 40px; width: 320px; opacity: .6; z-index: -1; transform: rotate(-8deg); }
.testimonials .section-head { margin-bottom: 36px; }
.testi-track { grid-auto-columns: clamp(290px, 32vw, 400px); }
.testi { scroll-snap-align: start; margin: 0; background: var(--paper-3); border-radius: 28px; padding: 30px 30px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; position: relative; }
.testi::before { content: "“"; position: absolute; right: 22px; top: -6px; font-family: var(--font-display); font-size: 120px; line-height: 1; color: var(--sage-light); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.testi-title { font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--ink); margin-bottom: 12px; position: relative; }
.testi blockquote { margin: 0 0 20px; font-size: 15px; line-height: 1.62; }
.testi blockquote p { margin: 0; }
.testi figcaption { margin-top: auto; padding-top: 16px; border-top: 1.5px dashed rgba(166, 143, 116, .35); }
.testi figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.testi figcaption span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side > p { font-size: 16.5px; }
.faq-art { margin-top: 26px; border-radius: 30px; box-shadow: var(--shadow-soft); }
.faq-list { border-top: 1.5px dashed rgba(166, 143, 116, .35); }
.qa { border-bottom: 1.5px dashed rgba(166, 143, 116, .35); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%235B4636' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--ease-out), background-color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--sage-light); }
.qa-body { padding: 0 4px 22px; font-size: 16px; animation: qa .5s var(--ease-out); }
.qa-body p { margin: 0; max-width: 640px; }
@keyframes qa { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- contact ---------- */
.contact { background: linear-gradient(160deg, var(--paper-2) 0%, #EAEEE2 100%); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact-copy { position: relative; }
.contact-copy > p { font-size: 17px; max-width: 520px; }
.contact-direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 420px; }
.contact-direct a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 253, 249, .8); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; transition: transform .35s var(--ease-out); }
.contact-direct a:hover { transform: translateX(6px); color: var(--ink); }
.contact-direct small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ci { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sage-light); color: var(--sage-deep); }
.contact-trio { width: min(330px, 70%); margin: 30px 0 -140px 40px; filter: drop-shadow(0 20px 24px rgba(70, 48, 30, .14)); }

.contact-form { background: var(--paper-3); border-radius: 34px; padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 2px 0 rgba(166, 143, 116, .14), 0 40px 80px -40px rgba(74, 52, 34, .5); }
.form-title { font-size: clamp(36px, 3.4vw, 48px); color: var(--teal-deep); margin: 0 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid rgba(166, 143, 116, .35);
  border-radius: 14px; padding: 13px 15px; transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%235B4636' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(127, 167, 163, .2); }
.field.has-error input, .consent.has-error span { border-color: var(--rose); }
.field.has-error input { box-shadow: 0 0 0 4px rgba(181, 87, 75, .12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--brown); }
.consent.has-error { color: var(--rose); }
.form-status { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.is-ok { color: var(--sage-deep); }
.form-status.is-err { color: var(--rose); }

/* ---------- footer ---------- */
.site-footer { background: #EFE6D7; position: relative; padding-top: clamp(60px, 7vw, 90px); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: linear-gradient(180deg, #EAEEE2, rgba(234, 238, 226, 0)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; position: relative; }
.footer-brand img { width: 210px; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; max-width: 320px; }
.footer-cert img { width: 180px; border-radius: 10px; background: #fff; padding: 6px; }
.footer-title { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 18px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-col a:not(.btn):hover { color: var(--brown-deep); text-decoration: underline; }
.footer-funds { display: flex; align-items: center; gap: 22px; padding-block: 34px 24px; margin-top: 30px; border-top: 1.5px dashed rgba(166, 143, 116, .4); }
.footer-funds img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 0 34px; font-size: 13.5px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-soft); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .main-nav .nav-link { padding: 10px 11px; font-size: 14.5px; }
  .world-badge.b-left { left: -12%; }
  .world-badge.b-right { right: -4%; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: block; }
  .world-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-copy { max-width: 520px; }
  .hero-cast { height: min(70%, 700px, calc((100vw - 590px) * 1.53)); right: 2vw; }
  .hero-veil { background:
      linear-gradient(90deg, rgba(251, 247, 240, .97) 0%, rgba(251, 247, 240, .9) 34%, rgba(251, 247, 240, .5) 52%, rgba(251, 247, 240, 0) 68%),
      linear-gradient(0deg, rgba(251, 247, 240, .85) 0%, rgba(251, 247, 240, 0) 16%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  /* hero mobile: tekst na papierze u góry, scena + bohaterki poniżej */
  .hide-sm { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: calc(100svh - var(--trust-h, 150px)); padding-top: calc(var(--header-h) + 4px); }
  .hero-grid { flex: none; }
  .hero-stage { top: 38%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%); }
  .hero-copy { max-width: none; padding: 4px 0 0; }
  .hero-title { font-size: clamp(42px, 12vw, 60px); margin-bottom: 14px; }
  .hero-script { font-size: .78em; }
  .hero-lead { font-size: 15.5px; margin-bottom: 18px; max-width: 460px; }
  .hero-actions { margin-bottom: 0; gap: 10px; }
  .hero-actions .btn { padding: 14px 20px; font-size: 15px; }
  .hero-proof { display: none; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
  .hero-veil { background: linear-gradient(0deg, rgba(251, 247, 240, .9) 0%, rgba(251, 247, 240, 0) 16%); }
  .hero-glow { background: radial-gradient(70% 40% at 70% 50%, rgba(255, 232, 190, .9), rgba(255, 232, 190, 0) 70%); }
  .hero-cast {
    position: relative; right: auto; left: auto; bottom: auto;
    flex: 1 1 clamp(290px, 41svh, 420px); height: auto; min-height: 290px; max-height: 620px;
    align-self: center; margin: 8px auto 0; transform: none;
    animation: castInM 1.4s .35s var(--ease-out) both;
  }
  @keyframes castInM { from { opacity: 0; transform: translateY(24px); } }
  .world-badge { width: clamp(70px, 20vw, 92px); gap: 5px; }
  .world-badge figcaption { font-size: 9.5px; padding: 4px 8px; white-space: normal; max-width: 108px; }
  .world-badge.b-left { left: -31%; top: 30%; }
  .world-badge.b-right { right: -31%; top: 10%; }
  .world-badge.is-active { transform: scale(1); }
  .hero-motes i { display: none; }
  .hero-worlds {
    position: relative; left: auto; right: auto; bottom: auto; flex: none;
    margin: -46px 12px 14px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start;
    scroll-snap-type: x proximity; padding: 5px;
  }
  .hero-worlds::-webkit-scrollbar { display: none; }
  .world-tab { padding: 9px 13px 11px; font-size: 13px; scroll-snap-align: center; }

  .section-head-row { flex-direction: column; align-items: flex-start; }
  .section-head-row .carousel-nav { display: none; }
  .world-cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 26px; scroll-padding-inline: var(--pad);
  }
  .world-cards::-webkit-scrollbar { display: none; }
  .world-card { scroll-snap-align: start; }
  .world-card:hover { transform: none; }
  .world-card p { font-size: 15px; }
  .swipe-hint { display: flex; }
  .person-photo { max-width: 260px; }
  .custom-offer { grid-template-columns: 1fr; text-align: center; padding-top: 10px; }
  .custom-offer-art { max-height: 300px; margin: -70px auto 0; }
  .problems-grid, .solution-inner, .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .problems-grid { gap: 0; }
  .problems-copy { display: contents; }
  .problems-copy .eyebrow { order: 1; }
  .problems-copy .section-title { order: 2; margin-bottom: 18px; }
  .problems-art { order: 3; margin-bottom: 26px; }
  .problem-list { order: 4; }
  .problems-after { order: 5; }
  .solution-art { order: -1; }
  .solution-art img { max-height: 420px; }
  .benefit-cards { grid-template-columns: 1fr; }
  .steps-path { display: none; }
  .step, .step-reverse { grid-template-columns: 1fr; gap: 0; }
  .step-reverse .step-art { order: 0; }
  .step-art img { max-width: 360px; }
  .step-copy { margin: -30px auto 0; position: relative; }
  .why-art { max-width: 420px; margin: 0 auto; }
  .why-art img { max-height: 520px; }
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .faq-side { position: static; }
  .faq-art { display: none; }
  .contact-trio { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-funds { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 40px; }
  .hero-actions .btn-ghost { display: none; }
  .hero-actions .btn-primary { width: 100%; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-height: 760px) and (min-width: 821px) {
  .hero-copy { padding-bottom: 120px; }
  .hero-title { font-size: clamp(44px, 5.2vw, 76px); }
  .hero-proof { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-motes { display: none; }
}

/* =========================================================
   PODSTRONY
   ========================================================= */
.news-card { text-decoration: none; color: var(--ink-soft); }
.news-card:hover { color: var(--ink-soft); }
.news-foot a { color: var(--ink-soft); text-decoration-color: rgba(166, 143, 116, .5); }
.mega-all { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--paper-2); font-weight: 800; font-size: 14px; text-decoration: none; color: var(--brown); }
.mega-all:hover { background: var(--sage-light); }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(20px, 3.5vw, 48px)) 0 clamp(56px, 7vw, 100px); background: var(--paper); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .7; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 55% at 85% 30%, rgba(209, 208, 182, .55), rgba(209, 208, 182, 0) 70%),
    radial-gradient(30% 40% at 70% 85%, rgba(234, 213, 168, .45), rgba(234, 213, 168, 0) 70%),
    radial-gradient(25% 35% at 10% 10%, rgba(170, 202, 197, .25), rgba(170, 202, 197, 0) 70%); }
.cat-hero .page-hero-bg { background: var(--world) 70% 50% / cover no-repeat; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); mask-image: linear-gradient(90deg, transparent 15%, #000 85%); }
.cat-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(0deg, var(--paper), rgba(251, 247, 240, 0)); }
.page-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brown); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-soft); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-title { font-size: clamp(42px, 5.2vw, 80px); line-height: 1; letter-spacing: -.025em; margin: 0 0 22px; }
.page-title .script { display: block; font-size: .86em; color: var(--teal-deep); margin-top: .1em; line-height: 1.12; }
.t-title { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.page-lead { font-size: clamp(16.5px, 1.35vw, 19px); max-width: 600px; margin-bottom: 28px; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow .tag { margin-left: 8px; letter-spacing: .08em; }
.t-hero-tag { margin-left: 10px; padding-left: 10px; border-left: 1.5px solid currentColor; opacity: .8; }
.page-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.page-facts li { display: inline-flex; gap: 8px; align-items: center; }
.page-facts svg, .check-list svg { color: var(--sage-deep); flex: none; }
.page-hero-art { position: relative; margin: 0; }
.page-hero-art img { position: relative; padding: 10px; background: #fff; border-radius: 30px; box-shadow: var(--shadow-soft); transform: rotate(1.4deg); animation: rise 1.1s .2s var(--ease-out) both; }
.page-hero-copy > * { animation: rise .9s var(--ease-out) both; }
.page-hero-copy > *:nth-child(2) { animation-delay: .08s; } .page-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.page-hero-copy > *:nth-child(4) { animation-delay: .24s; } .page-hero-copy > *:nth-child(5) { animation-delay: .32s; }
.page-hero-copy > *:nth-child(6) { animation-delay: .4s; }

.t-hero-art { position: relative; margin: 0; display: grid; place-items: center; min-height: 360px; }
.t-hero-disc { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: radial-gradient(circle at 45% 40%, #fff 0%, #F6EFE2 55%, rgba(209, 208, 182, .6) 100%); box-shadow: var(--shadow-soft); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; transform: rotate(8deg); } }
.t-hero-art img { position: relative; width: min(340px, 72%); height: auto; max-height: 340px; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(70, 48, 30, .14)); animation: bob 6s ease-in-out infinite; }

.cat-intro { background: var(--paper); padding-top: clamp(40px, 5vw, 70px); }
.cat-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cat-intro-copy p { font-size: 17px; max-width: 620px; }
.benefit-box { background: var(--paper-3); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-card); }
.benefit-box h3 { font-size: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 7px 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.check-list svg { margin-top: 2px; }
.for-whom { margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed rgba(166, 143, 116, .4); }
.for-whom h4 { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }
.for-whom p { font-size: 15px; margin: 0; }

.t-list { background: var(--paper-2); }
.t-list .section-head { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip { border: 0; cursor: pointer; padding: 10px 17px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(166, 143, 116, .3); font-weight: 700; font-size: 14px; color: var(--ink-soft); transition: background .25s, color .25s, transform .25s; }
.chip:hover { transform: translateY(-1px); color: var(--ink); }
.chip.is-active { background: var(--brown); color: #FFF8EE; box-shadow: none; }
.chip-new:not(.is-active) { color: var(--teal-deep); box-shadow: inset 0 0 0 1.5px rgba(63, 111, 107, .35); }
.t-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 0 18px; box-shadow: inset 0 0 0 1.5px rgba(166, 143, 116, .35); min-width: 300px; color: var(--muted); }
.t-search:focus-within { box-shadow: inset 0 0 0 2px var(--teal); }
.t-search input { border: 0; background: none; font: inherit; font-size: 15.5px; color: var(--ink); padding: 13px 0; width: 100%; outline: none; }
.t-tools { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.t-tools .chips { margin: 0; }
.t-count { font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.t-count strong { color: var(--ink); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.t-card { display: flex; flex-direction: column; background: var(--paper-3); border-radius: 26px; padding: 12px 12px 22px; text-decoration: none; color: var(--ink-soft); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.t-card:hover { transform: translateY(-6px); color: var(--ink-soft); box-shadow: 0 2px 0 rgba(166, 143, 116, .12), 0 34px 60px -32px rgba(74, 52, 34, .5); }
.t-card[hidden] { display: none; }
.t-card-art { display: block; aspect-ratio: 16 / 10; border-radius: 18px; padding: 14px; margin-bottom: 16px; overflow: hidden; background: radial-gradient(circle at 50% 55%, #fff 0%, var(--paper-2) 75%); }
.t-card-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease-spring); }
.t-card:hover .t-card-art img { transform: scale(1.06) rotate(-2deg); }
.t-card-body { display: flex; flex-direction: column; flex: 1; padding: 0 10px; }
.t-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; min-height: 1.5em; }
.t-card-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.22; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.t-card-short { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.t-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--brown); }
.t-card-link svg { transition: transform .35s var(--ease-out); }
.t-card:hover .t-card-link svg { transform: translateX(5px); }
.t-card-ask { background: linear-gradient(135deg, #F3EADF, #EEF0E6); box-shadow: inset 0 0 0 1.5px rgba(166, 143, 116, .3); }
.t-empty { text-align: center; padding: 34px 20px; font-size: 16px; }

.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 32px; }
.cat-tile { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 20px; padding: 8px 8px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform .35s var(--ease-out); }
.cat-tile:hover { transform: translateY(-4px); color: var(--ink); }
.cat-tile img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.cat-tile span { padding: 0 6px; }
.cat-tile strong { display: block; font-size: 14.5px; }
.cat-tile small { color: var(--muted); font-size: 12.5px; }

.t-body { background: var(--paper); padding-top: clamp(40px, 5vw, 70px); }
.t-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.knowledge-box { background: linear-gradient(135deg, #EEF0E4, #E5EEEA); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 44px; }
.knowledge-box h2 { font-size: 26px; margin-bottom: 12px; }
.knowledge-box p { font-size: 17px; margin-bottom: 8px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 18px; }
.prose p { font-size: 17px; line-height: 1.75; max-width: 70ch; }
.qual-box { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-card); margin: 26px 0; max-width: 70ch; }
.qual-box svg { color: var(--gold); flex: none; margin-top: 3px; }
.qual-box strong { display: block; color: var(--ink); }
.t-cta-text { font-family: var(--font-display); font-style: italic; font-size: 20px !important; line-height: 1.5 !important; color: var(--brown); border-left: 3px solid var(--gold); padding-left: 18px; margin-top: 28px; }
.for-whom-box { margin-top: 44px; padding: 26px 30px; border-radius: 24px; background: var(--paper-2); }
.for-whom-box h2 { font-size: 24px; }
.for-whom-box p { margin: 0; }
.t-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.t-aside-card { background: var(--paper-3); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.t-aside-script { font-size: 34px; color: var(--teal-deep); margin-bottom: 14px; }
.t-aside-card .check-list { margin-bottom: 22px; }
.t-aside-card .check-list li { font-size: 14.5px; }
.t-aside-team { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.t-aside-team a { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 15px; }
.t-aside-heads { display: flex; flex: none; }
.t-aside-heads img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; box-shadow: 0 6px 14px -8px rgba(74, 52, 34, .6); }
.t-aside-heads img + img { margin-left: -12px; }
.t-related { background: var(--paper-2); }

.custom-offer-section { background: var(--paper); padding-top: clamp(70px, 8vw, 110px); }
.custom-offer-section .custom-offer { margin-top: 0; }
.custom-offer-title { font-size: clamp(26px, 2.6vw, 38px); }

.steps-mini { background: var(--paper-2); }
.steps-mini-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.steps-mini-list li { background: var(--paper-3); border-radius: var(--radius); padding: 18px 24px 30px; box-shadow: var(--shadow-card); text-align: center; }
.steps-mini-list img { max-height: 200px; width: auto; margin: 0 auto 6px; }
.steps-mini-list .step-num { font-size: 42px; margin-bottom: 4px; }
.steps-mini-list h3 { font-size: 24px; }
.steps-mini-list p { font-size: 15px; margin: 0; }

.about-hero-art { position: relative; margin: 0; display: flex; justify-content: center; }
.about-hero-art img { max-height: min(600px, 70vh); width: auto; filter: drop-shadow(0 26px 30px rgba(70, 48, 30, .16)); animation: rise 1.1s .2s var(--ease-out) both; }
.people { background: var(--paper); padding-top: clamp(40px, 5vw, 70px); }
.person-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; padding: clamp(30px, 4vw, 56px) 0; }
.person-row + .person-row { border-top: 1.5px dashed rgba(166, 143, 116, .35); }
.person-row-rev { grid-template-columns: minmax(0, 1fr) 340px; }
.person-row-rev .person-photo { order: 2; }
.person-row .person-photo { margin: 0; }
.person-copy h2 { font-size: clamp(32px, 3.2vw, 46px); margin-bottom: 18px; }
.person-copy p { font-size: 16.5px; max-width: 64ch; }
.person-copy .person-motto { font-size: 34px; margin-top: 10px; }
.why-mini { background: var(--paper-2); }

.consult-hero-art { position: relative; margin: 0; }
.consult-hero-art img { filter: drop-shadow(0 24px 28px rgba(70, 48, 30, .15)); animation: rise 1.1s .2s var(--ease-out) both; }
.consult-steps { background: var(--paper-2); }
.consult-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.consult-list li { background: var(--paper-3); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-card); }
.consult-list .step-num { font-size: 52px; }
.consult-list h3 { font-size: 24px; }
.consult-list p { font-size: 15.5px; margin: 0; }
.consult-who { background: var(--paper); }
.consult-who-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.consult-who-grid .person-photo { margin: 0; }
.consult-who-grid p { font-size: 16.5px; max-width: 64ch; }
.clients-title { font-size: 22px; margin: 26px 0 8px; }
.check-list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

.legal { background: var(--paper); padding-top: 30px; }
.legal-hero { padding-bottom: 30px; }
.legal-prose { max-width: 860px; }
.legal-prose h2, .legal-prose h3, .legal-prose h4 { margin-top: 1.6em; font-size: clamp(21px, 2vw, 26px); }
.legal-prose p, .legal-prose li { font-size: 16px; line-height: 1.75; }
.legal-prose ul, .legal-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.notfound-art { margin: 0; display: flex; justify-content: center; }
.notfound-art img { max-height: 520px; width: auto; animation: bob 6s ease-in-out infinite; }

@media (max-width: 1024px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .t-body-grid { grid-template-columns: 1fr; }
  .t-aside { position: static; }
  .person-row, .person-row-rev { grid-template-columns: 280px minmax(0, 1fr); }
  .person-row-rev .person-photo { order: 0; }
}
@media (max-width: 820px) {
  .page-hero { padding-top: calc(var(--header-h) + 14px); }
  .page-hero-grid, .cat-intro-grid, .consult-who-grid { grid-template-columns: 1fr; }
  .page-hero-art img { transform: rotate(1deg); }
  .t-hero-art { min-height: 260px; order: -1; }
  .t-hero .page-hero-grid { gap: 10px; }
  .t-hero-art img { width: min(240px, 60%); }
  .t-hero-disc { width: min(280px, 72%); }
  .t-grid { grid-template-columns: 1fr; }
  .steps-mini-list, .consult-list { grid-template-columns: 1fr; }
  .person-row, .person-row-rev { grid-template-columns: 1fr; text-align: center; }
  .person-row .person-photo { margin: 0 auto; max-width: 260px; }
  .person-copy p { margin-inline: auto; }
  .check-list-2 { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .t-search { min-width: 0; width: 100%; }
  .t-tools { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .crumbs [aria-current] { max-width: 24ch; }
  .about-hero-art img { max-height: 420px; }
  .notfound-art img { max-height: 320px; }
}
.page-hero .eyebrow { flex-wrap: wrap; row-gap: 8px; }
.page-hero .eyebrow .tag { margin-left: 0; }
@media (max-width: 820px) {
  .t-card { flex-direction: row; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 22px; }
  .t-card-art { width: 92px; flex: none; aspect-ratio: 1; margin: 0; padding: 8px; border-radius: 16px; }
  .t-card-body { padding: 0; }
  .t-card-meta { font-size: 10.5px; margin-bottom: 4px; min-height: 0; }
  .t-card-title { font-size: 16.5px; margin-bottom: 0; }
  .t-card-short, .t-card-link { display: none; }
  .t-card:hover { transform: none; }
  .t-grid { gap: 12px; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-bottom: clamp(70px, 8vw, 110px); }
.nf-inner { display: flex; flex-direction: column; align-items: center; }
.nf-art { margin: 0 0 6px; position: relative; }
.nf-art::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(84, 60, 40, .28), rgba(84, 60, 40, 0)); filter: blur(4px); }
.nf-art img { position: relative; max-height: min(560px, 58vh); width: auto; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; filter: drop-shadow(0 20px 24px rgba(70, 48, 30, .12)); }
@keyframes sway { 0%, 100% { transform: rotate(-.6deg) translateY(0); } 50% { transform: rotate(.6deg) translateY(-6px); } }
.notfound .eyebrow { justify-content: center; }
.notfound .page-title .script { margin-top: .06em; }
.notfound .page-lead { margin-inline: auto; }
.nf-tiles { width: 100%; max-width: 1080px; margin-top: 10px; text-align: left; }
.nf-actions { justify-content: center; margin-top: 34px; }
@media (max-width: 820px) {
  .brand img { width: 150px; }
  .is-scrolled .brand img { width: 136px; }
}

/* ---------- hero statyczne (sala szkoleniowa z widokiem na miasto) ---------- */
.hero-static .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero-static .hero-copy > *, .hero-static .hero-cast, .hero-static .hero-trio { animation: none; opacity: 1; }
.hero-static .hero-copy > * { transform: none; }
.hero-static .hero-cast { transition: none; }
.hero-static .hero-trio { transform: none; }
.hero-static .hero-script { height: auto; }
.hero-static .hero-swash path { stroke-dashoffset: 0; animation: none; }
.hero-static .hero-copy { padding-bottom: 96px; }

/* ---------- menu: aktywna zakładka ---------- */
.nav-link[aria-current="page"] { color: var(--brown-deep); background: rgba(166, 143, 116, .12); box-shadow: inset 0 -2px 0 var(--gold); }
.mobile-menu-links a[aria-current="page"] { color: var(--teal-deep); }
.mobile-menu-home { margin-bottom: 18px; }

/* ---------- kroki: dłuższe teksty 1:1 ---------- */
.step-copy p + p { margin-top: .7em; }
.step-copy p { margin-bottom: 0; }
.steps-mini-more { text-align: center; margin: 30px 0 0; }
.steps-mini-list h3 .caps, .step-copy h3 .caps { font: inherit; }

/* ---------- strona: jak działamy ---------- */
.how-hero-art { position: relative; margin: 0; }
.how-hero-art img { border-radius: var(--radius); box-shadow: var(--shadow-card); transform: rotate(1.2deg); animation: rise 1.1s .2s var(--ease-out) both; }
.page-how .steps { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- strona: opinie ---------- */
.op-hero { overflow: hidden; }
.op-sprig { position: absolute; left: -60px; bottom: -40px; width: 300px; opacity: .45; transform: rotate(18deg); pointer-events: none; z-index: -1; }
.op-hero-art { position: relative; margin: 0; display: flex; justify-content: center; }
.op-hero-art img { max-height: min(560px, 66vh); width: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); transform: rotate(-2deg); animation: rise 1.1s .2s var(--ease-out) both; }
.op-score { display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; background: var(--paper-3); border-radius: 22px; box-shadow: var(--shadow-card); }
.op-score-num { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--ink); font-weight: 500; }
.op-score .stars { display: block; margin: 0 0 2px; font-size: 18px; }
.op-score small { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.op-list { padding-top: clamp(30px, 4vw, 60px); }
.op-grid { columns: 3 340px; column-gap: clamp(18px, 2vw, 28px); }
.op-card { break-inside: avoid; margin: 0 0 clamp(18px, 2vw, 28px); background: var(--paper-3); border-radius: var(--radius); padding: 30px 30px 24px; box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column; }
.op-card::before { content: "“"; position: absolute; right: 22px; top: -8px; font-family: var(--font-display); font-size: 120px; line-height: 1; color: var(--sage-light); pointer-events: none; }
.op-card:nth-child(4n+2) { background: #F7F3EA; }
.op-card:nth-child(4n+3) { background: #F2F4EE; }
.op-title { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 14px; padding-right: 40px; position: relative; }
.op-text { margin: 0 0 18px; font-size: 15.5px; line-height: 1.65; }
.op-text p { margin: 0 0 .8em; }
.op-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown); font-size: 14.5px; margin-bottom: .6em; }
.op-more summary::-webkit-details-marker { display: none; }
.op-more summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.op-more[open] summary { order: 2; }
.op-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.op-more .op-more-close, .op-more[open] .op-more-open { display: none; }
.op-more[open] .op-more-close { display: inline; }
.op-more[open] { display: flex; flex-direction: column; }
.op-more[open] > p { order: 1; }
.op-author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px dashed rgba(166, 143, 116, .45); }
.op-author strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.op-author small { display: block; font-size: 13px; color: var(--ink-soft); }
.op-avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.op-sage { background: var(--sage-light); color: var(--sage-deep); }
.op-gold { background: #F1E2C2; color: #8A6A2C; }
.op-teal { background: #D9E8E5; color: var(--teal-deep); }
.op-rose { background: var(--blush); color: var(--rose); }
.op-foot { margin: 14px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft); }
.op-training { display: inline; color: var(--teal-deep); }
a.op-training { text-decoration: underline; text-decoration-color: rgba(63, 111, 107, .35); }
.op-cta { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: linear-gradient(135deg, #F3EBDD, #E8EFEA); border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 48px) clamp(24px, 5vw, 64px); box-shadow: var(--shadow-card); overflow: hidden; }
.op-cta-art { width: clamp(150px, 18vw, 230px); height: auto; margin: -10px 0 calc(-1 * clamp(26px, 4vw, 48px)); align-self: end; filter: drop-shadow(0 20px 24px rgba(70, 48, 30, .16)); }
.op-cta .section-title .script { display: block; }
.op-cta p:not(.eyebrow) { max-width: 560px; }
@media (max-width: 820px) {
  .op-hero-art img { max-height: 380px; }
  .how-hero-art img { transform: none; }
  .op-cta { grid-template-columns: 1fr; text-align: left; }
  .op-cta-art { display: none; }
  .op-card { padding: 26px 22px 20px; }
  .op-score-num { font-size: 40px; }
}

/* ---------- wskaźnik przewijania (myszka) ---------- */
.scroll-cue {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 14px 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 253, 249, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(74, 52, 34, .45), inset 0 0 0 1px rgba(166, 143, 116, .25);
  color: var(--brown); font: 700 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  transform: translate(-50%, 0); opacity: 1; transition: opacity .45s, transform .45s var(--ease-out);
}
.scroll-cue.is-hidden { opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }
.scroll-cue-mouse { position: relative; width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; }
.scroll-cue-mouse::before { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cueWheel 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
.scroll-cue-arrows { display: flex; flex-direction: column; align-items: center; margin-top: -2px; }
.scroll-cue-arrows i { display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -2px; opacity: .25; animation: cueArrow 1.8s ease-in-out infinite; }
.scroll-cue-arrows i + i { animation-delay: .18s; }
.scroll-cue:hover { color: var(--brown-deep); }
@keyframes cueWheel { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes cueArrow { 0%, 100% { opacity: .2; } 45% { opacity: 1; } }
@media (pointer: coarse) {
  .scroll-cue { padding: 8px 12px 7px; }
  .scroll-cue-mouse { width: 18px; height: 28px; border-radius: 10px; }
  .scroll-cue-mouse::before { top: 5px; height: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-mouse::before, .scroll-cue-arrows i { animation: none; opacity: 1; }
}

/* ---------- beauty: specjalizacje ---------- */
.group-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 26px; }
.group-tile { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease-out), box-shadow .35s; }
.group-tile:hover { transform: translateY(-3px); color: var(--ink); }
.group-tile img { width: 58px; height: 58px; object-fit: contain; flex: none; background: var(--paper-2); border-radius: 14px; padding: 4px; }
.group-tile span { flex: 1; min-width: 0; }
.group-tile strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.2; }
.group-tile small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.group-tile svg { color: var(--brown); flex: none; }
.group-tile[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--gold), var(--shadow-card); }
.group-more { margin-top: clamp(36px, 5vw, 60px); }
.group-more .group-tiles { margin: 0; }
.group-hero-art { position: relative; margin: 0; display: grid; place-items: center; }
.group-hero-art img { position: relative; width: min(400px, 80%); filter: drop-shadow(0 22px 26px rgba(70, 48, 30, .14)); animation: rise 1.1s .2s var(--ease-out) both; }
.group-hero-art .t-hero-disc { position: absolute; width: min(420px, 86%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 253, 249, .95), rgba(239, 217, 207, .55) 70%, rgba(239, 217, 207, 0)); }
@media (max-width: 1024px) { .group-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .group-tiles { gap: 10px; }
  .group-tile { padding: 8px 10px 8px 8px; gap: 8px; border-radius: 16px; }
  .group-tile img { width: 44px; height: 44px; }
  .group-tile strong { font-size: 15.5px; }
  .group-tile small { font-size: 11px; }
  .group-tile svg { display: none; }
  .group-hero-art img { width: min(260px, 70%); }
}
/* hero bez żadnych animacji (decyzja klienta) */
.hero-static *, .hero-static *::before, .hero-static *::after { animation: none !important; }
.hero-static .hero-swash path { stroke-dasharray: none; stroke-dashoffset: 0; }

/* ---------- baner cookies ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.link-btn:hover { color: var(--brown-deep); }
.cookie-banner {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 110;
  width: min(440px, calc(100vw - 40px)); max-height: calc(100vh - 110px); overflow: auto;
  padding: 30px 28px 24px; border-radius: var(--radius);
  background: var(--paper-3); background-image: var(--noise);
  box-shadow: 0 2px 0 rgba(166, 143, 116, .14), 0 30px 70px -26px rgba(74, 52, 34, .5), inset 0 0 0 1px rgba(166, 143, 116, .22);
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s, transform .55s var(--ease-out);
}
.cookie-banner.is-open { opacity: 1; transform: none; }
.cookie-banner::before { content: ""; position: absolute; right: -40px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 213, 168, .55), rgba(234, 213, 168, 0)); pointer-events: none; }
.cookie-art { position: absolute; right: 14px; top: 10px; width: 96px; height: auto; transform: rotate(8deg); pointer-events: none; }
.cookie-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 6px; }
.cookie-title { font-size: 30px; line-height: 1.05; margin: 0 0 12px; padding-right: 90px; }
.cookie-title .script { font-size: 1.15em; color: var(--teal-deep); }
.cookie-text { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; position: relative; }
.cookie-prefs { display: grid; gap: 10px; margin: 0 0 16px; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(244, 237, 225, .7); cursor: pointer; }
.cookie-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-opt strong { display: block; font-size: 14.5px; color: var(--ink); }
.cookie-opt small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.cookie-switch { flex: none; position: relative; width: 38px; height: 22px; margin-top: 1px; border-radius: 999px; background: var(--sage-light); transition: background .25s; }
.cookie-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(74, 52, 34, .3); transition: transform .3s var(--ease-out); }
.cookie-opt input:checked + .cookie-switch { background: var(--teal-deep); }
.cookie-opt input:checked + .cookie-switch::after { transform: translateX(16px); }
.cookie-opt input:disabled + .cookie-switch { background: var(--sage-deep); opacity: .6; }
.cookie-opt input:focus-visible + .cookie-switch { outline: 2.5px solid var(--teal-deep); outline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cookie-actions .link-btn { font-size: 14px; font-weight: 600; }
@media (max-width: 760px) {
  .cookie-banner { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: auto; padding: 24px 20px 18px; }
  .cookie-art { width: 76px; right: 10px; top: 6px; }
  .cookie-title { font-size: 26px; padding-right: 74px; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

/* ---------- hero: sala + miasto z paralaksą (jak na starej stronie) ---------- */
/* Skala sali jest liczona z wysokości bohaterek (--hcs), a nie z szerokości ekranu,
   więc meble zawsze są w proporcji do postaci. Okno sali jest wycentrowane za bohaterkami. */
.hero-static .hero-stage { overflow: hidden; container-type: size; background: var(--paper); }
.hero-scene {
  --hcs: min(calc(100cqh - var(--header-h) - 70px), 1100px, calc((100vw - 700px) * 1.53));
  position: absolute; bottom: 0; height: calc(var(--hcs) * 1.21); aspect-ratio: 3168 / 1344;
  left: calc(max(50% - 30px, 640px) + var(--hcs) * .2525); transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hl { position: absolute; left: 20%; right: 20%; will-change: transform; }
.hl-sky { left: 25%; right: 25%; top: 13%; height: 46%; background: url("/img/hero-niebo.webp") 50% 65% / cover no-repeat; }
.hl-far { bottom: 42.6%; height: 17%; background: url("/img/hero-miasto-daleko.webp") 18% 100% / auto 100% repeat-x; opacity: .85; }
.hl-mid { bottom: 42.2%; height: 26%; background: url("/img/hero-miasto-srodek.webp") 62% 100% / auto 100% repeat-x; }
.hl-near { bottom: 41.6%; height: 31%; background: url("/img/hero-miasto-blisko.webp") 30% 100% / auto 100% repeat-x; }
.hl-room { inset: 0; display: block; will-change: auto; }
.hl-room img { width: 100%; height: 100%; display: block; }
/* Bohaterki: 64% wysokości sali, stopy na podłodze między stołami (12% nad dolną krawędzią),
   oczy na linii horyzontu – czyli w tej samej skali co meble. */
@media (min-width: 821px) {
  .hero-static .hero-cast {
    --S: calc(min(calc(100% - var(--header-h) - 70px), 1100px, calc((100vw - 700px) * 1.53)) * 1.21);
    right: auto; left: max(calc(50% - 30px), 640px); height: calc(var(--S) * .64); bottom: calc(var(--S) * .12);
  }
}
.cookie-banner [hidden] { display: none !important; }

/* ---------- cookies: odcisk palca (zmiana ustawień) ---------- */
.cookie-fab {
  position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 89;
  display: inline-flex; align-items: center; gap: 0; height: 48px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px -14px rgba(74, 52, 34, .5), inset 0 0 0 1px rgba(166, 143, 116, .28);
  color: var(--brown); font: 600 13.5px/1 var(--font-body); transition: background .3s, color .3s, box-shadow .3s, bottom .35s var(--ease-out);
}
.cookie-fab svg { flex: none; }
.cookie-fab span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease-out), opacity .3s, margin .45s var(--ease-out); }
.cookie-fab:hover, .cookie-fab:focus-visible { color: var(--teal-deep); background: #fff; }
.cookie-fab:hover span, .cookie-fab:focus-visible span { max-width: 160px; opacity: 1; margin-left: 8px; }
.cookie-fab[hidden] { display: none; }
@media (max-width: 760px) { .cookie-fab { height: 42px; padding: 0 9px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } }

/* napis odręczny w hero nie może być przycinany maską */
.hero-static .hero-script-word { -webkit-mask-image: none; mask-image: none; padding-top: .18em; margin-top: -.18em; }
.hero-static .hero-script { overflow: visible; }

/* =========================================================
   HERO W UKŁADZIE MOBILNYM — telefon, tablet i każdy ekran, na którym sala
   (liczona w skali bohaterek) nie sięgałaby już pod menu.
   Próg zależy od szerokości i wysokości okna: szerokość < 700 + (wysokość − pasek BUR − 84) / 1,85.
   ========================================================= */
@media (max-width: 957px),
       (min-height: 675px) and (max-width: 959px),
       (min-height: 700px) and (max-width: 973px),
       (min-height: 725px) and (max-width: 986px),
       (min-height: 750px) and (max-width: 1000px),
       (min-height: 775px) and (max-width: 1013px),
       (min-height: 800px) and (max-width: 1027px),
       (min-height: 825px) and (max-width: 1040px),
       (min-height: 850px) and (max-width: 1054px),
       (min-height: 875px) and (max-width: 1067px),
       (min-height: 900px) and (max-width: 1081px),
       (min-height: 925px) and (max-width: 1094px),
       (min-height: 950px) and (max-width: 1108px),
       (min-height: 975px) and (max-width: 1121px),
       (min-height: 1000px) and (max-width: 1135px),
       (min-height: 1025px) and (max-width: 1148px),
       (min-height: 1050px) and (max-width: 1162px),
       (min-height: 1075px) and (max-width: 1175px),
       (min-height: 1100px) and (max-width: 1189px),
       (min-height: 1125px) and (max-width: 1202px),
       (min-height: 1150px) and (max-width: 1216px),
       (min-height: 1175px) and (max-width: 1229px),
       (min-height: 1200px) and (max-width: 1243px),
       (min-height: 1225px) and (max-width: 1256px),
       (min-height: 1250px) and (max-width: 1270px),
       (min-height: 1275px) and (max-width: 1283px),
       (min-height: 1300px) and (max-width: 1297px),
       (min-height: 1325px) and (max-width: 1310px),
       (min-height: 1350px) and (max-width: 1324px),
       (min-height: 1375px) and (max-width: 1337px),
       (min-height: 1400px) and (max-width: 1351px),
       (min-height: 1425px) and (max-width: 1364px),
       (min-height: 1450px) and (max-width: 1378px),
       (min-height: 1475px) and (max-width: 1391px),
       (min-height: 1500px) and (max-width: 1405px),
       (min-height: 1525px) and (max-width: 1418px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: calc(100svh - var(--trust-h, 150px)); padding-top: calc(var(--header-h) + 4px); }
  .hero-grid { flex: none; }
  /* scena zaczyna się tuż pod przyciskiem: górę sceny wygasza jej własna maska */
  .hero-stage { top: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-copy, .hero-static .hero-copy { max-width: none; padding: 4px 0 0; }
  .hero-title { font-size: clamp(42px, 12vw, 60px); margin-bottom: 14px; }
  .hero-script { font-size: .78em; }
  .hero-lead { font-size: 15.5px; margin-bottom: 18px; max-width: 460px; }
  .hero-actions { margin-bottom: 0; gap: 10px; }
  .hero-actions .btn { padding: 14px 20px; font-size: 15px; }
  .hero-proof { display: none; }
  .hero-veil { background: linear-gradient(0deg, rgba(251, 247, 240, .9) 0%, rgba(251, 247, 240, 0) 16%); }
  /* bohaterki ≈ 64% wysokości sali, stopy 12% nad dolną krawędzią – ta sama skala co na desktopie */
  .hero-static { --mh: clamp(240px, 32svh, 360px); }
  .hero-static .hero-cast {
    position: relative; right: auto; left: auto; bottom: auto; transform: none;
    flex: none; align-self: center; height: var(--mh); min-height: 0; max-height: none;
    margin: auto auto calc(var(--mh) * .1875);   /* zawsze przy podłodze sali, także na wysokich telefonach */
  }
  .hero-scene { --hcs: 0px; left: 50%; width: auto; height: calc(var(--mh) * 1.5625);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(180deg, transparent 0%, #000 16%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-composite: intersect; }
}

/* cień kontaktowy: osobno pod stopami każdej bohaterki, na linii podeszew (bez przesunięcia w dół) */
.hero-static .hero-trio { filter: none; }
.hero-static .hero-shadow {
  /* warstwa cienia przygotowana pod tę ilustrację: cień wzdłuż każdej podeszwy + punkty styku obcasa i czubka */
  left: 0; right: 0; top: 0; bottom: -4%; height: auto; border-radius: 0; filter: none;
  background: url("/img/hero-trio-cien.webp") 50% 0 / 100% 100% no-repeat;
}

/* ---------- przycisk „do góry” ---------- */
.to-top {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 88;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--brown);
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -14px rgba(74, 52, 34, .55);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease-out), color .25s, background .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:focus-visible { color: #FFF8EE; background: var(--brown); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
.to-top-arrow { grid-area: 1 / 1; transition: transform .3s var(--ease-out); }
.to-top-ring { grid-area: 1 / 1; width: 52px; height: 52px; transform: rotate(-90deg); fill: none; stroke-width: 2.5; }
.to-top-ring circle { stroke: rgba(166, 143, 116, .25); }
.to-top-ring .to-top-progress { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.to-top:hover .to-top-ring circle { stroke: rgba(255, 248, 238, .25); }
.to-top:hover .to-top-ring .to-top-progress { stroke: var(--gold); }
@media (max-width: 760px) { .to-top { width: 46px; height: 46px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } .to-top-ring { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; } }

/* ---------- pasek BUR: na telefonie sam tekst (logotypy tuż pod nim), żeby zmieścił się na pierwszym ekranie ---------- */
.trust-logos-m { display: none; }
@media (max-width: 820px) {
  :root { --trust-h: 84px; }
  .trust { padding: 12px 0; }
  .trust .trust-logos { display: none; }
  .trust-text { font-size: 13.5px; line-height: 1.5; max-width: 420px; margin-inline: auto; }
  .trust-logos-m { display: block; padding: 16px 0 4px; }
  .trust-logos-m .trust-logos { justify-content: center; gap: 10px; }
  .trust-logos-m .trust-logos li { height: 52px; padding: 4px 10px; border-radius: 12px; }
  .trust-logos-m .trust-logos img { max-height: 42px; }
}
/* niskie telefony: ciaśniejszy nagłówek hero */
@media (max-width: 820px) and (max-height: 760px) {
  .hero-eyebrow { display: none; }
  .hero-title { font-size: clamp(36px, 10.4vw, 52px); margin-bottom: 10px; }
  .hero-lead { font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
}
/* wskaźnik przewijania nie zasłania paska BUR na pierwszym ekranie */
.scroll-cue { transition: opacity .45s, transform .45s var(--ease-out), bottom .35s var(--ease-out); }

/* formularz: ukryte pole-pułapka na boty i stan wysyłania */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .72; cursor: progress; }
