/* 7Nutrition Eksperci: arkusz stylow wersji projektowej (dietetyk/design).
   Powstal z artboardu "Strona dla ekspertow". Klasy i tokeny sa zgodne z team/public_html/assets/css/style.css. */
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }

/* ------------------------------------------------------------
   7Nutrition Eksperci. Tokeny i klasy zgodne z team/public_html/assets/css/style.css.
   Nowe elementy: akcent "health" (szałwia) z systemu 7Nutrition, .roles, .products, .standards.
   ------------------------------------------------------------ */
.site {
  --surface: #f9f9f9;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f3f3f3;
  --surface-container: #eeeeee;
  --surface-container-high: #e8e8e8;
  --surface-container-highest: #e2e2e2;
  --on-surface: #1a1c1c;
  --on-surface-variant: #474747;
  --on-surface-muted: #5c5c5c;
  --primary: #b20025;
  --primary-container: #dd1134;
  --primary-fixed: #ffdad8;
  --tertiary: #005f7b;
  --tertiary-ink: #00495f;
  --tertiary-bg: #e1f0f5;
  --health-bg: #dde8df;
  --health-strong: #5e9f73;
  --health-deep: #3f7a56;
  --health-ink: #21442f;
  --protein-bg: #dceaf7;
  --font-display: 'Public Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 3px;
  --shadow-sm: 0 8px 24px -4px rgba(26, 28, 28, 0.05);
  --shadow-md: 0 16px 32px -4px rgba(26, 28, 28, 0.06);
  --shadow-xl: 0 32px 64px -16px rgba(26, 28, 28, 0.12);
  --angle-brand: -22.8deg;
  --gradient-primary: linear-gradient(135deg, #b20025 0%, #dd1134 100%);
  --t: 300ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --wrap: 1280px;
  --gutter: 32px;
  --nav-h: 72px;
  --lift: 120px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { display: block; max-width: 100%; }
.site a { color: var(--primary); text-decoration: none; }
.site a:hover { color: var(--primary-container); }
.site h1, .site h2, .site h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--on-surface);
  text-wrap: balance;
}
.site p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--on-surface-variant); }
.site ul { margin: 0; padding: 0; list-style: none; }
.site .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.site .icon {
  width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.site .icon--ext { width: 14px; height: 14px; }
.site .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site a, .site button, .site .btn, .site input, .site textarea, .site select {
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

/* Przyciski */
.site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  position: relative; overflow: hidden;
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.site .btn .icon { width: 20px; height: 20px; transition: transform var(--t) var(--ease); }
.site .btn:hover .icon { transform: translateX(4px); }
.site .btn--primary { color: #fff; background: var(--gradient-primary); box-shadow: 0 8px 24px -4px rgba(178, 0, 37, 0.25); }
.site .btn--primary:hover { color: #fff; box-shadow: 0 8px 24px -4px rgba(178, 0, 37, 0.4); }
.site .btn--secondary {
  color: var(--on-surface); background: var(--surface-container-lowest);
  box-shadow: inset 0 0 0 1px rgba(26, 28, 28, 0.1), 0 4px 16px -4px rgba(26, 28, 28, 0.06);
}
.site .btn--secondary:hover { color: var(--on-surface); background-color: var(--surface-container-high); }
.site .btn--on-dark { color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.site .btn--on-dark:hover { color: #fff; background-color: rgba(255, 255, 255, 0.2); }
.site .btn--on-dark .icon { width: 16px; height: 16px; }
.site .btn--on-dark:hover .icon { transform: none; }
.site .btn--small { min-height: 44px; padding: 10px 20px; font-size: 0.8125rem; }

/* Etykiety */
.site .eyebrow {
  display: block; margin-bottom: 16px;
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.5;
  color: var(--primary);
}
.site .angle-tag {
  position: relative; display: inline-flex; align-items: center; overflow: hidden;
  padding: 10px 28px 10px 16px; margin-bottom: 28px;
  color: #fff; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
}
.site .angle-tag::before {
  content: ""; position: absolute; inset: 0; background: var(--on-surface);
  transform: skewX(var(--angle-brand)); transform-origin: 0 0;
}
.site .angle-tag span { position: relative; }

/* Nawigacja */
.site .nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site .nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site .nav__logo { display: flex; align-items: center; gap: 14px; }
.site .nav__logo img { height: 30px; width: auto; }
.site .nav__logo span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-surface-muted); }
.site .nav__links { display: flex; align-items: center; gap: 32px; }
.site .nav__links a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 0.875rem; color: var(--on-surface); }
.site .nav__links a:hover { color: var(--primary); }
.site .nav__cta { display: flex; align-items: center; gap: 12px; }
.site .nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--on-surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.site .nav__toggle .i-close { display: none; }
.site .nav.is-open .nav__toggle .i-menu { display: none; }
.site .nav.is-open .nav__toggle .i-close { display: inline-block; }

/* Hero */
.site .hero { padding: 72px 0 96px; overflow: hidden; }
.site .hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.site .hero__copy { min-width: 0; }
.site .hero h1 { font-size: clamp(2.25rem, 3.8vw, 3rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 28px; text-wrap: balance; }
.site .hero h1 em { font-style: normal; color: var(--primary); }
/* Na szerokim ekranie nagłówek wchodzi lekko w odstęp przy zdjęciach, a każde zdanie trzyma się jednego wiersza */
@media (min-width: 1081px) {
  /* z-index na kolumnie, bo paralaksa GSAP nadaje jej transform i tworzy osobny kontekst warstw */
  .site .hero__copy { position: relative; z-index: 2; }
  .site .hero h1 { width: calc(100% + 80px); }
  .site .hero__keep { white-space: nowrap; }
}
.site .hero__lead { max-width: 580px; font-size: 1.125rem; margin-bottom: 36px; }
.site .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site .hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 40px; }
.site .fact { min-width: 0; }
.site .fact strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--on-surface); }
.site .fact span { display: block; margin-top: 8px; font-size: 0.8125rem; line-height: 1.5; color: var(--on-surface-muted); text-wrap: pretty; }

.site .collage { position: relative; isolation: isolate; height: 640px; }
.site .collage__img { position: absolute; z-index: 1; overflow: hidden; background: var(--surface-container-high); border-radius: var(--radius-sm); }
.site .collage__img img { width: 100%; height: 100%; object-fit: cover; }
.site .collage__a { top: 0; right: 0; width: 66%; height: 84%; box-shadow: var(--shadow-xl); }
.site .collage__a img { object-position: 68% 50%; }
.site .collage__b { bottom: 0; left: 0; width: 48%; height: 38%; box-shadow: var(--shadow-xl); }
.site .collage__c { top: 6%; left: 8%; width: 30%; height: 34%; box-shadow: var(--shadow-md); }
.site .collage__blob {
  position: absolute; z-index: -1; top: -30px; right: -40px; width: 300px; height: 300px;
  background: rgba(94, 159, 115, 0.24); border-radius: 50%; filter: blur(56px);
}
.site .collage__slab { position: absolute; z-index: 0; right: -5%; bottom: -6%; width: 44%; max-width: 250px; aspect-ratio: 68.5 / 94.79; pointer-events: none; }
.site .collage__slab img { width: 100%; height: 100%; }
.site .collage__tag {
  position: absolute; right: 6%; bottom: 3%; z-index: 2; display: flex; align-items: center; gap: 12px;
  max-width: 88%; padding: 14px 18px; background: rgba(255, 255, 255, 0.85); border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
}
.site .collage__tag img { width: 22px; flex-shrink: 0; }
.site .collage__tag b { display: block; font-family: var(--font-display); font-size: 0.875rem; line-height: 1.2; }
.site .collage__tag small { display: block; font-size: 0.75rem; line-height: 1.4; color: var(--on-surface-muted); }

/* Sekcje */
.site .section { padding: 96px 0; }
.site .section--low { background: var(--surface-container-low); }
.site .section__head { max-width: 640px; margin-bottom: 56px; }
.site .section__head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 16px; }
.site .section__head--wide { max-width: none; }
.site .section__head p { font-size: 1.0625rem; }

/* Korzyści */
.site .benefits { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px; align-items: stretch; }
.site .benefits__photo { position: relative; min-height: 560px; border-radius: var(--radius-sm); overflow: hidden; }
.site .benefits__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.site .benefits__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site .card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px; background: var(--surface-container-lowest);
  border-radius: var(--radius-sm); box-shadow: 0 4px 16px -4px rgba(26, 28, 28, 0.05);
}
.site .card__icon {
  width: 48px; height: 48px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--health-deep); color: #fff; border-radius: var(--radius-sm);
}
.site .card h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.site .card p { font-size: 0.9375rem; }

/* Twoja rola */
.site .roles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.site .roles__head h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 16px; }
.site .roles__head p { font-size: 1.0625rem; }
.site .note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; background: var(--tertiary-bg); color: var(--tertiary-ink); border-radius: var(--radius-sm); }
.site .note .icon { width: 20px; height: 20px; margin-top: 2px; }
.site .note p { font-size: 0.875rem; line-height: 1.55; color: var(--tertiary-ink); }
.site .roles__list { display: grid; gap: 12px; }
.site .role {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 20px; align-items: start;
  padding: 26px 28px; background: var(--surface-container-lowest);
  border-radius: var(--radius-sm); box-shadow: 0 4px 16px -4px rgba(26, 28, 28, 0.05);
}
.site .role__n {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.125rem; line-height: 1;
  color: #fff; background: var(--health-deep); border-radius: var(--radius-sm);
}
.site .role h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.site .role p { font-size: 0.9375rem; }

/* Produkty */
.site .section--products { padding-bottom: calc(96px + var(--lift)); }
.site .products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site .product {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-container-lowest); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
/* Produkt stoi na blacie: kolor zajmuje dolną jedną trzecią kadru, reszta to neutralna ściana.
   Pliki PNG mają wspólny układ: produkt to 80% wysokości, podstawa na 84% od góry. */
.site .product__photo {
  --table: var(--health-bg);
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(to top, var(--table) 0, var(--table) 33.34%, var(--surface-container-low) 33.34%, var(--surface-container-low) 100%);
}
.site .product__photo--protein { --table: var(--protein-bg); }
.site .product__photo img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); }
.site .product__body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 26px 26px 28px; }
.site .product__head { display: flex; flex-direction: column; gap: 6px; }
.site .product__kind { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; color: var(--health-deep); }
.site .product h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
.site .facts { display: grid; gap: 2px; margin: 0; }
.site .facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; background: var(--surface-container-low); }
.site .facts dt { font-size: 0.8125rem; line-height: 1.4; color: var(--on-surface-variant); }
.site .facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--on-surface); }
.site .product__note { font-size: 0.875rem; line-height: 1.55; }
.site .product--cta { justify-content: flex-end; background: var(--health-bg); box-shadow: none; }
.site .product--cta .product__body { position: relative; flex: none; gap: 14px; padding: 32px 26px 36px; }
.site .product--cta .eyebrow { margin-bottom: 0; color: var(--health-ink); }
.site .product--cta h3 { color: var(--health-ink); }
.site .product--cta p { font-size: 0.9375rem; color: #2f4f3c; }
.site .product--cta .btn { align-self: flex-start; margin-top: 8px; }
.site .product__mark { position: absolute; top: 28px; right: -36px; width: 62%; opacity: 0.1; filter: grayscale(1) brightness(0.35); pointer-events: none; }
.site .products__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.site .products__foot p { font-size: 0.9375rem; max-width: 640px; }

/* Standardy (ciemny pas, odpowiednik sekcji z filmem) */
.site .standards { position: relative; display: flow-root; background: var(--on-surface); color: #fff; padding: 0 0 104px; }
.site .standards__panel {
  position: relative; z-index: 2; margin-top: calc(var(--lift) * -1);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface-container-lowest); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(26, 28, 28, 0.35);
}
.site .pillar { padding: 40px 36px 44px; }
.site .pillar:nth-child(2) { background: var(--surface-container-low); }
.site .pillar__n { display: block; margin-bottom: 20px; font-family: var(--font-display); font-weight: 900; font-size: 0.875rem; letter-spacing: 0.14em; color: var(--primary); }
.site .pillar h3 { font-size: 1.75rem; margin-bottom: 12px; }
.site .pillar p { font-size: 0.9375rem; }
.site .standards__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-top: 88px; }
.site .standards__foot .eyebrow { color: #ff8a9c; }
.site .standards__foot h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 16px; }
.site .standards__foot p { color: rgba(255, 255, 255, 0.78); font-size: 1.0625rem; max-width: 520px; }
.site .standards__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site .standards__media { position: relative; }
.site .standards__photo { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; }
.site .standards__photo img { width: 100%; height: 100%; object-fit: cover; }
.site .standards__seven { position: absolute; right: -28px; bottom: -44px; width: 132px; pointer-events: none; }

/* Blog */
.site .blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.site .blog__head .section__head { max-width: 720px; margin-bottom: 0; }
.site .blog__head .btn .icon { width: 16px; height: 16px; }
.site .blog__head .btn:hover .icon { transform: none; }
.site .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site .post {
  display: flex; flex-direction: column; overflow: hidden; color: var(--on-surface);
  background: var(--surface-container-lowest); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.site .post:hover { color: var(--on-surface); box-shadow: var(--shadow-md); }
.site .post__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-container-high); }
.site .post__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.site .post:hover .post__photo img { transform: scale(1.04); }
.site .post__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 18px; }
.site .post__date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.5; color: var(--on-surface-muted); }
.site .post h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.site .post p { font-size: 0.9375rem; }
.site .post__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; font-weight: 600; font-size: 0.875rem; color: var(--primary); }

/* Jak to działa */
.site .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.site .step { padding: 8px 0; }
.site .step__n {
  position: relative; display: inline-flex; align-items: center; height: 68px; padding: 0 40px 0 22px; margin-bottom: 28px;
  overflow: hidden; color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
}
.site .step__n::before { content: ""; position: absolute; inset: 0; background: var(--gradient-primary); transform: skewX(var(--angle-brand)); transform-origin: 0 0; }
.site .step__n span { position: relative; }
.site .step h3 { font-size: 1.375rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.site .step p { max-width: 360px; }

/* Formularz */
.site .apply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.site .apply__side { display: flex; flex-direction: column; gap: 32px; }
.site .apply__side h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 16px; }
.site .apply__photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; }
.site .apply__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.site .form {
  padding: 48px; background: var(--surface-container-lowest); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.site .field { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.site .field--full { grid-column: 1 / -1; }
.site .field label, .site .field-group legend { font-size: 0.75rem; font-weight: 600; line-height: 1.5; color: var(--on-surface); }
.site .field input, .site .field textarea, .site .field select {
  width: 100%; min-height: 46px; padding: 13px 14px; font: inherit; font-size: 0.9375rem; color: var(--on-surface);
  background: var(--surface-container-high); border: 0; border-radius: var(--radius-sm); outline: none;
}
.site .field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.site .field input::placeholder, .site .field textarea::placeholder { color: #6b6b6b; }
.site .field input:focus, .site .field textarea:focus, .site .field select:focus { background: #fff; box-shadow: 0 0 0 2px rgba(178, 0, 37, 0.25); }
.site .form__note { grid-column: 1 / -1; font-size: 0.8125rem; }
.site .req { color: var(--primary); }
.site .label__opt { font-weight: 400; color: var(--on-surface-variant); }
.site .field-group { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.site .field-group legend { padding: 0; margin-bottom: 12px; }
.site .legend__hint { font-weight: 400; color: var(--on-surface-variant); }
.site .field-group__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.site .check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.875rem; line-height: 1.5; color: var(--on-surface); cursor: pointer; }
.site .check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.site .check a { text-decoration: underline; }
.site .check--consent { grid-column: 1 / -1; font-size: 0.8125rem; }
.site .form__foot { grid-column: 1 / -1; display: flex; margin-top: 8px; }

/* Stopka */
.site .footer { padding: 56px 0 40px; background: var(--on-surface); color: #fff; }
.site .footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site .footer img { height: 28px; width: auto; }
.site .footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site .footer nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; font-size: 0.875rem; color: rgba(255, 255, 255, 0.76); }
.site .footer nav a:hover { color: #fff; }
.site .footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.site .footer small { display: block; color: rgba(255, 255, 255, 0.64); font-size: 0.75rem; }
.site .footer small a { color: rgba(255, 255, 255, 0.82); text-decoration: underline; text-underline-offset: 3px; }
.site .footer small a:hover { color: #fff; }
.site .social { display: flex; gap: 8px; }
.site .social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background-color: rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); }
.site .social a:hover { color: #fff; background-color: var(--primary); }
.site .social .icon { width: 22px; height: 22px; }

/* Responsywność: te same progi co w team */
@media (max-width: 1080px) {
  .site { --gutter: 24px; }
  .site .hero__grid, .site .apply, .site .roles, .site .standards__foot { grid-template-columns: 1fr; gap: 48px; }
  .site .collage { height: 560px; max-width: 560px; order: -1; }
  .site .benefits { grid-template-columns: 1fr; }
  .site .benefits__photo { min-height: 0; aspect-ratio: 4 / 3; }
  /* Pionowe zdjęcie w poziomej ramce: kadr od góry, żeby była widoczna twarz */
  .site .benefits__photo img { object-position: 50% 8%; transform-origin: 50% 0; }
  .site .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site .steps { grid-template-columns: 1fr; gap: 36px; }
  .site .standards__panel { grid-template-columns: 1fr; }
  .site .standards__seven { right: -8px; bottom: -32px; width: 96px; }
}
@media (max-width: 860px) {
  .site .nav__toggle { display: inline-flex; }
  .site .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px var(--gutter) 24px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 16px 24px -12px rgba(26, 28, 28, 0.08);
  }
  .site .nav.is-open .nav__links { display: flex; }
  .site .nav__links a { width: 100%; padding: 14px 0; font-size: 1rem; }
  .site .nav__cta .btn { display: none; }
  .site .posts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site { --gutter: 20px; --lift: 72px; }
  .site .hero { padding: 40px 0 64px; }
  .site .hero__facts { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .site .fact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: baseline; }
  .site .fact span { margin-top: 0; }
  .site .collage { height: 460px; }
  .site .collage__b { height: 32%; }
  .site .section { padding: 64px 0; }
  .site .section--products { padding-bottom: calc(64px + var(--lift)); }
  .site .section__head { margin-bottom: 36px; }
  .site .benefits__cards, .site .products, .site .field-group__row { grid-template-columns: 1fr; }
  .site .role { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .site .product__mark { top: 16px; right: -12px; width: 30%; }
  .site .pillar { padding: 32px 24px; }
  .site .standards { padding-bottom: 80px; }
  .site .standards__foot { margin-top: 56px; }
  .site .form { grid-template-columns: 1fr; padding: 28px 20px; }
}

/* ------------------------------------------------------------
   Dodatki wersji produkcyjnej (zachowanie jak w team/public_html): przełącznik języka, walidacja,
   komunikaty formularza, pasek postępu, stany początkowe animacji GSAP, strony pomocnicze.
   ------------------------------------------------------------ */
.site .skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--on-surface); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.site .skip-link:focus { left: 8px; color: #fff; }
.site :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.site .nav.is-scrolled { box-shadow: 0 4px 24px -4px rgba(26, 28, 28, 0.06); }
.site .icon--ext { width: 14px; height: 14px; flex: none; }

/* Przełącznik języka: pochylony wskaźnik (kąt marki) przesuwa się pod aktywny język */
.site .language-switch {
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  display: inline-grid; grid-template-columns: 1fr 1fr; height: 32px; padding: 3px;
  border-radius: var(--radius-sm);
}
.site .language-switch::before {
  --slant: 11px;
  content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: var(--gradient-primary);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: transform 360ms var(--ease);
}
.site .language-switch[data-current="en"]::before { transform: translateX(100%); }
.site .language-switch a,
.site .nav__links .language-switch a,
.site .footer nav .language-switch a {
  display: flex; align-items: center; justify-content: center; width: auto; min-width: 38px; min-height: 0; padding: 0 15px 0 10px;
  font: 700 0.75rem/1 var(--font-body); letter-spacing: 0.1em; color: var(--on-surface-muted);
}
.site .language-switch a:hover,
.site .nav__links .language-switch a:hover { color: var(--primary); }
.site .language-switch a[aria-current="page"],
.site .nav__links .language-switch a[aria-current="page"] { color: #fff; }
.site .language-switch a:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; border-radius: 2px; }
.site .footer nav .language-switch a { color: rgba(255, 255, 255, 0.64); }
.site .footer nav .language-switch a:hover { color: #fff; }
.site .footer nav .language-switch a[aria-current="page"] { color: #fff; }
.site .footer nav .language-switch a:focus-visible { outline-color: #fff; }
@media (min-width: 861px) and (max-width: 1100px) { .site .nav__links { gap: 12px; } }

/* Formularz: walidacja, licznik znaków, komunikat po wysyłce */
.site .field input[type="text"], .site .field input[type="email"], .site .field input[type="tel"], .site .field select { min-height: 46px; }
.site .field.is-invalid input, .site .field.is-invalid textarea, .site .field.is-invalid select { background: #fff0f0; box-shadow: 0 0 0 2px rgba(178, 0, 37, 0.4); }
.site .field-check { display: flex; flex-direction: column; gap: 6px; }
.site .field-check.is-invalid .check input { outline: 2px solid var(--primary); outline-offset: 2px; }
.site .check input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.site .field__count { align-self: flex-end; font-size: 0.75rem; color: var(--on-surface-muted); }
.site .field__err { display: none; font-size: 0.75rem; color: var(--primary); }
.site .field.is-invalid .field__err, .site .field-group.is-invalid .field__err, .site .field-check.is-invalid .field__err { display: block; }
.site .form__foot { flex-direction: column; gap: 20px; }
.site .form__status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.9375rem; }
.site .form__status.is-ok { display: block; background: #dde8df; color: #21442f; }
.site .form__status.is-err { display: block; background: #ffdad6; color: #93000a; }
/* Pułapka na boty: pole poza ekranem, niedostępne dla użytkowników */
.site .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Animacje GSAP: stany początkowe (klasa .js dodaje inline skrypt w <head>) */
.site .progress, .progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; pointer-events: none; background: linear-gradient(135deg, #b20025 0%, #dd1134 100%); transform: scaleX(0); transform-origin: 0 50%; }
.js .site .hero .angle-tag, .js .site .hero h1, .js .site .hero__lead, .js .site .hero__actions .btn, .js .site .hero__facts .fact,
.js .site .collage__img, .js .site .collage__slab, .js .site .collage__tag, .js .site .collage__blob { opacity: 0; }
.js .site .collage__img, .js .site .collage__slab, .js .site .collage__tag { animation: none; }
.site .btn .icon { transition: transform var(--t) var(--ease); }
.site .btn:hover .icon { transform: translateX(4px); }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 10px; height: 16px; margin: -8px 0 0 -5px; border-radius: 1px; }
.site .responsive-image { display: contents; }

@media (max-width: 860px) {
  .site .nav__links .language-switch { height: 40px; margin: 10px 0 12px; }
  .site .nav__links .language-switch a { min-width: 52px; width: auto; padding: 0 18px 0 12px; font-size: 0.8125rem; }
  .site .nav__links .language-switch::before { --slant: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site * { transition: none !important; }
  .site .collage__img, .site .collage__slab, .site .collage__tag { animation: none; opacity: 1; }
}

/* Strony pomocnicze: potwierdzenie wysyłki bez JS, 404, polityka prywatności */
.site .notice { min-height: 100vh; display: grid; place-items: center; }
.site .notice__in { max-width: 600px; display: grid; gap: 24px; justify-items: start; }
.site .notice__in h1 { font-size: clamp(2rem, 5vw, 3rem); }
.site .legal-top { padding: 24px 0; border-bottom: 1px solid var(--surface-container-high); background: var(--surface-container-lowest); }
.site .legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site .legal { max-width: 820px; }
.site .legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 32px; }
.site .legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.site .legal p, .site .legal li { color: var(--on-surface-variant); line-height: 1.65; }
.site .legal p { margin: 0 0 14px; }
.site .legal ul, .site .legal ol { margin: 0 0 16px; padding-left: 22px; }
.site .legal li { margin-bottom: 6px; }
.site .legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.site .legal .legal__back { margin-top: 40px; }
.site .legal .btn { text-decoration: none; }

/* Komunikaty błędów nie mogą rozjeżdżać siatki: pola wyrównane do góry, a nie do dołu wiersza */
.site .form { align-items: start; }
.site .field { justify-content: flex-start; }

/* Stopka: przełącznik języka i linki w jednej osi */
.site .footer nav { align-items: center; }
.site .footer nav .language-switch { align-self: center; }

/* Produkty: oryginalny cień z plików PNG został usunięty, zamiast niego produkt dostaje cień kontaktowy tuż pod podstawą
   (podstawa leży na 84% wysokości kadru). Cień jest za zdjęciem, więc dolna krawędź opakowania go przysłania. */
.site .product__photo::before {
  content: ""; position: absolute; left: 50%; top: 83.4%; width: var(--shadow-w, 34%); height: 4.8%;
  transform: translate(-50%, -50%); pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(26, 28, 28, 0.5) 0%, rgba(26, 28, 28, 0.26) 45%, rgba(26, 28, 28, 0) 100%);
  filter: blur(2px);
}
.site .product__photo--protein { --shadow-w: 38%; }

/* Stopka na telefonie: nawigacja w jednej kolumnie, od góry do dołu */
@media (max-width: 640px) {
  .site .footer nav { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .site .footer nav .language-switch { align-self: flex-start; margin-bottom: 8px; }
}

/* Menu mobilne: panel jest zawsze w układzie, a otwieranie i zamykanie to przejście (CSS) lub animacja GSAP (klasa .js) */
@media (max-width: 860px) {
  .site .nav__links {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .site .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  /* Z GSAP: rozwijanie i stagger prowadzi animations.js, CSS pilnuje tylko stanu bazowego */
  .js .site .nav__links { will-change: clip-path, opacity; transition: none; transform: none; opacity: 1; visibility: hidden; clip-path: inset(0% -40px 100% -40px); }
  .js .site .nav.is-open .nav__links { visibility: visible; clip-path: inset(0% -40px -40% -40px); }
}

/* Baner zgód na cookies (assets/js/consent.js) */
.site .cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 80;
  width: min(560px, calc(100% - 48px)); max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 24px; background: var(--surface-container-lowest); border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(26, 28, 28, 0.08), var(--shadow-xl);
  animation: cookie-in 400ms var(--ease) both;
}
.site .cookie [hidden], .site .cookie[hidden] { display: none; }
.site .cookie__title { font-size: 1.125rem; margin-bottom: 8px; }
.site .cookie__title:focus { outline: none; }
.site .cookie__text { font-size: 0.875rem; line-height: 1.6; }
.site .cookie__text a { text-decoration: underline; text-underline-offset: 2px; }
.site .cookie__panel { margin-top: 16px; border-top: 1px solid var(--surface-container-high); }
.site .cookie__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--surface-container-high); }
.site .cookie__name { display: block; font-weight: 600; font-size: 0.875rem; color: var(--on-surface); cursor: pointer; }
.site .cookie__desc { font-size: 0.8125rem; line-height: 1.5; color: var(--on-surface-muted); }
.site .cookie__always { flex: none; font-size: 0.75rem; font-weight: 600; color: var(--health-deep); }
.site .cookie__switch {
  flex: none; appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer;
  position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--surface-container-highest);
}
.site .cookie__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(26, 28, 28, 0.25); transition: transform var(--t) var(--ease);
}
.site .cookie__switch:checked { background: var(--primary); }
.site .cookie__switch:checked::after { transform: translateX(18px); }
.site .cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; }
.site .cookie__actions .btn { flex: 1 1 auto; }
.site .cookie__link {
  min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 600 0.8125rem/1.2 var(--font-body); color: var(--on-surface); text-decoration: underline; text-underline-offset: 3px;
}
.site .cookie__link:hover { color: var(--primary); }
.site .footer small button[data-cookie-settings], .site .legal button[data-cookie-settings] {
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.site .footer small button[data-cookie-settings] { color: rgba(255, 255, 255, 0.82); }
.site .footer small button[data-cookie-settings]:hover { color: #fff; }
.site .legal button[data-cookie-settings] { color: var(--primary); text-underline-offset: 2px; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 600px) {
  .site .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; max-height: calc(100vh - 32px); padding: 20px; }
  .site .cookie__actions .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site .cookie { animation: none; }
}
