/* AUTO-GENERATED by the hub from the Branding tab (branding → baza).
   Regenerowany przy każdym "Wygeneruj bazę (z brandingu)" — nie edytuj ręcznie. */
/* tokens-schema: v11 */
:root {
  /* — kolory z PLIKU logo (źródło prawdy) — */
  --logo-1: #050001;
  --logo-2: #d40811;
  --logo-3: #a30509;
  --logo-4: #d50811;
  --logo-5: #a20509;
  /* — paleta z zakładki Branding — */
  --palette-1: #d40811;
  --palette-2: #a30509;
  --palette-3: #ffffff;
  --palette-4: #f4f4f6;
  --palette-5: #2b2f36;
  --palette-6: #3a4048;
  --palette-7: #131315;
  --palette-8: #6b7280;
  --palette-9: #f2f2f4;
  --palette-10: #e4e5e9;
  /* — gradienty z logo (stopy) — */
  --logo-grad-1-a: #d40811;
  --logo-grad-1-b: #a30509;
  --logo-grad-2-a: #d50811;
  --logo-grad-2-b: #a20509;
  /* — semantyka bazowa (heurystyka; base.css może nadpisać na wierzchu) — */
  --brand: #d50811;
  --brand-2: #99060c;
  --black2: #050001;
  --white: #ffffff;
  --light2: #ffffff;
  --light3: #f0f0f0;
  /* — typografia (self-host w src/styles/fonts.css) — */
  --font-heading: "Exo 2", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
  /* — layout — */
  --padding-horizontal: 24px;
  --section-pad-block: 96px;
  --border-radius: 8px;
}
@media (max-width: 1023px) {
  :root { --section-pad-block: 72px; }
}
@media (max-width: 767px) {
  :root { --section-pad-block: 56px; --padding-horizontal: 16px; }
}

/* System tokenów z brandingu — ŹRÓDŁO PRAWDY. base.css tylko je referuje */
/* (nie redefiniuje), więc zmiana radius/border/palety wchodzi natychmiast. */
:root {
  --accent: #d40811;
  --accent-2: #99060c;
  --accent-contrast: #ffffff;
  --accent-strong: #a30509;
  --accent-soft: #e0a0a3;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --surface-dark: #2b2f36;
  --surface-dark-2: #3a4048;
  --ink: #131315;
  --ink-soft: #6b7280;
  --on-dark: #f2f2f4;
  --border: #e4e5e9;
  --heading-accent: #d40811;
  --heading-accent-on-dark: #d40811;
  --heading-line-color: #d40811;
  --heading-line-color-on-dark: #d40811;
  --brand-el-watermark-color: #d40811;
  --brand-el-watermark-color-on-dark: #d40811;
  --brand-el-watermark-opacity: 0.08;
  --border-width: 1px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 13px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.13);
  --shadow-lg: 0 18px 46px rgba(0,0,0,0.16);
  /* — gradienty: z vibe Wypełnienie. Kontrakt Picasso — ZAWSZE obecne; bez gradientów = płaski kolor, */
  /*   więc `background: var(--grad-accent)` jest zawsze poprawne. --grad-enabled mówi, czy aktywne. */
  --grad-enabled: 1;
  --grad-angle: 135deg;
  --grad-from: #d40811;
  --grad-to: #f75a03;
  --grad-accent-contrast: #131315;
  --grad-accent: linear-gradient(var(--grad-angle), var(--grad-from), var(--grad-to));
  --grad-accent-soft: linear-gradient(var(--grad-angle), #f8d7d9, #feefe6);
  --grad-dark: linear-gradient(var(--grad-angle), #2b2f36, #5c453c);
}

/* Baza tekstu — jedyne miejsce, które konsumuje --ink i fonty marki.          */
/* :where() = specyficzność ZERO, więc base.css i sekcje nadpisują swobodnie   */
/* niezależnie od kolejności ładowania. Zmiana palety/fontów działa od razu.   */
:where(body) {
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
}

/* Elementy brandingu — widoczność i umiejscowienie (LIVE z zakładki Branding). */
/* Sekcje owijają każdy ozdobnik w .brand-el.brand-el--<technika>; linia #7 jest  */
/* renderowana w OBU slotach (.heading-line--above/--below) i tu wybieramy jeden. */
:root {
  --brand-el-photo-frame: block;
  --brand-el-shape-divider: block;
  --brand-el-section-bg: block;
  --brand-el-corner-decor: none;
  --brand-el-text-accent: block;
  --brand-el-watermark: block;
  --brand-el-text-divider: block;
  --brand-el-bg-photo: block;
  --brand-el-marquee-slogan: block;
  --heading-line-above: none;
  --heading-line-below: block;
  --heading-accent-mask: block;
  --heading-accent-img: none;
  --heading-line-mask: none;
  --heading-line-img: block;
}
/* Wyłączone elementy/warianty — twardo ukryte (reszta bez zmian): */
.brand-el--corner-decor { display: none !important; }
.brand-el--mascot-signet { display: none !important; }
.brand-el--seam-decor { display: none !important; }
.heading-line--above { display: none !important; }
.heading-mark--img { display: none !important; }
.heading-line-mask { display: none !important; }
/* #7: linia pod/nad nagłówkiem nigdy szersza niż kontener (bez poziomego scrolla na telefonie): */
.heading-line, .heading-line-mask, .heading-line-img { max-width: 100%; }

/* UI signature — derived from the brand kit; every component honours these:
   1) The logo's red "wing/łuk" (the EXACT marquee-separator path) is inlined as --wing and
      REPLACES the trailing arrow on every CTA and "read more" link — a masked swoosh painted in
      currentColor that nudges forward on hover; the default → glyph is removed, never layered.
   2) Every card carries the "Czerwony horyzont": a ~3px red logo-gradient (#d40811→#a30509) top
      edge — the shape-divider's horizon stroke reused as a component detail; cards stay flat at
      rest (no resting shadow) per the brand's "Faktura: brak / płasko".
   3) Anthracite is the dark register: secondary/ghost controls resolve to graphite --surface-dark(-2)
      (the wordmark's #050001 ink tone), never pure black or a second red — red stays the ONE action
      colour (60/30/10, accent used sparingly).
   4) Left-anchored geometry: the animated link underline grows from the LEFT (0→100%) and the
      .brand-wing flourish is left-aligned — honouring "typografia zawsze lewostronnie, nigdy centrowana".
   5) Small, hard radii (5/8/13px, NO pills) + layered brand-tinted shadows (rgba(5,0,1,…) from the
      photo-frame, red-tinted color-mix on the CTA) — solid/monumental register, shadows tinted with
      brand ink not neutral black. */

/* tokens.css OWNS the design system (--accent, --radius-*, --surface*, --ink*, --shadow-*, --border…).
   This :root defines ONLY the button-signature aliases + the brand motif tokens.css doesn't own. */
:root {
  --accent-2: var(--accent-strong);   /* darker END of the CTA gradient (logo grad #d40811→#a30509) */
  --btn-radius: var(--radius-md);      /* primary button radius — 8px, solid/hard (never a pill); Slider arrows read this */
  --btn-height: 52px;                  /* ONE invariant button height site-wide */
  --btn-height-sm: 42px;
  --btn-shadow: none;                  /* resting CTA shadow — brand is flat ("Faktura: brak"), so none */

  /* Signature motif — the logo wing, verbatim from the approved marquee separator (viewBox 748×345).
     Used as a recolorable mask: paint via background-color / currentColor. */
  --wing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 748 345'%3E%3Cpath fill='black' d='M335.625 61.9103C90.2609 73.7698 9.94897 253.965 0 345C28.6287 274.602 204.908 201.708 430.039 197.713C655.17 193.719 734.599 76.8886 748 0C681.606 95.8611 583.537 49.9276 335.625 61.9103Z'/%3E%3Cpath fill='black' d='M206.401 170.223C55.5081 177.545 6.11835 288.796 0 345C17.6059 301.537 126.013 256.533 264.463 254.067C402.912 251.601 451.759 179.47 460 132C419.169 191.184 358.86 162.825 206.401 170.223Z'/%3E%3C/svg%3E");
}

/* ============================================================================
   BUTTONS — one family: same font (Exo 2 / heading), weight, tracking & height;
   variants differ ONLY in colour/fill/border. <Button> outputs `class="btn btn-*"`.
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-height, 52px);   /* height is fixed here — never re-derived from padding */
  padding-block: 0;
  padding-inline: 28px;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--btn-radius, var(--radius-md, 8px));
  font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — the logo's red gradient CTA. Per-band recolour via --btn-bg / --btn-fg. */
.btn-primary {
  background: var(--btn-bg, linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent))));
  color: var(--btn-fg, var(--accent-contrast));
  border-color: transparent;
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 55%, transparent);
    filter: brightness(0.96);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: none; }

/* Secondary — distinct, LOWER-priority, neutral: anthracite outline that fills graphite on hover
   (never the accent red again). Per-band recolour via --btn-accent / --btn-fg. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, var(--ink));
  border-color: var(--btn-accent, var(--ink));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--surface-dark));
    border-color: var(--btn-accent, var(--surface-dark));
    color: var(--btn-fg, var(--on-dark));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — no chrome until hover; graphite tint + accent text. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--ink));
  border-color: transparent;
  padding-inline: 14px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--ink) 8%, transparent);
    color: var(--btn-accent, var(--accent));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — square; radius = --btn-radius so shared Slider arrows are softly-rounded, not circles. */
.btn-icon {
  width: var(--btn-height, 52px);
  height: var(--btn-height, 52px);
  padding: 0;
  border-radius: var(--btn-radius, var(--radius-md, 8px));
  background: var(--btn-bg, linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent))));
  color: var(--btn-fg, var(--accent-contrast));
  border: none;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) {
  .btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--accent) 50%, transparent);
  }
}
.btn-icon:active { transform: translateY(0); }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* Compact size — only height + inline padding shrink; radius/type unchanged. */
.btn--sm { min-height: var(--btn-height-sm, 42px); padding-inline: 18px; font-size: 14px; }

/* ============================================================================
   LINKS
   ============================================================================ */
/* Nav link / inline link — animated underline GROWING FROM THE LEFT in the logo red gradient. */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(90deg, var(--accent), var(--accent-strong));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 220ms ease, color 200ms ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .link-underline:hover { background-size: 100% 2px; color: var(--accent); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent); }

/* "Read more" — inline label + the brand WING (not a generic →). Leave .arrow EMPTY; the mask draws it. */
.with-arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.with-arrow .arrow {
  width: 22px;
  height: 11px;
  flex: 0 0 auto;
  background-color: currentColor;                      /* wing inherits the control's colour */
  -webkit-mask: var(--wing) center / contain no-repeat;
          mask: var(--wing) center / contain no-repeat;
  transition: transform 200ms ease;
}
@media (hover: hover) { .with-arrow:hover .arrow { transform: translateX(4px); } }

/* Decorative logo wing — left-aligned heading/eyebrow flourish, painted in the red gradient. */
.brand-wing {
  display: block;
  width: 56px;
  height: 26px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  -webkit-mask: var(--wing) left center / contain no-repeat;
          mask: var(--wing) left center / contain no-repeat;
}

/* ============================================================================
   CARDS / TILES — flat at rest with the red "horizon" top edge; lift on hover.
   ============================================================================ */
.card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  color: var(--ink);
  border: var(--border-width, 1px) solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(5, 0, 1, 0.22), 0 4px 10px rgba(5, 0, 1, 0.14);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: translateX(4px); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* .card is padless so media reaches its edges; text lives in this padded inner wrapper. */
.card-body {
  padding: 24px var(--padding-horizontal, 24px);
  color: var(--ink);
}
.card-body p { color: var(--ink-soft); }

/* ============================================================================
   INPUTS
   ============================================================================ */
.field {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 13px 15px;
  border: var(--border-width, 1px) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--ink-soft); }
.field:hover { border-color: var(--accent); }
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field:disabled { opacity: 0.55; cursor: not-allowed; color: var(--ink-soft); }
.field:user-invalid { border-color: var(--accent-strong); }

/* ============================================================================
   HOVER VOCABULARY (reusable utilities)
   ============================================================================ */
/* Powiększenie — scale */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* Image-in-frame zoom (clip so neighbours don't shift) */
.media { overflow: hidden; border-radius: var(--radius-md); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
@media (hover: hover) { .media:hover img { transform: scale(1.06); } }

/* Uniesienie — lift + brand-tinted layered shadow (rgba brand ink, not neutral black) */
.hover-lift { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease; }
@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(5, 0, 1, 0.22), 0 4px 10px rgba(5, 0, 1, 0.14);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* Zmiana koloru — fill swap */
.hover-fill { transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) {
  .hover-fill:hover { background-color: var(--accent); color: var(--accent-contrast); }
}
/* border + text tint (outline chips) */
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--accent); border-color: var(--accent); }
}

/* Ruchoma strzałka — continuous loop indicator (scroll hint). Keep subtle. */
.arrow-loop { animation: arrow-nudge 1.4s ease-in-out infinite; }
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* ============================================================================
   CONTENT ICONS (monochrome, recolorable) — steer paint ONLY via --icon-color
   ============================================================================ */
.svc-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--icon-color, var(--accent));
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}

/* ============================================================================
   STEP NUMBER BADGE — optically-centred number in a disc
   ============================================================================ */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent)));
  color: var(--accent-contrast);
}
.step-num {
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ============================================================================
   MISSING-DATA PLACEHOLDER
   ============================================================================ */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
  color: var(--ink-soft);
}

/* ============================================================================
   Reduced motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* hub: straż poziomu — nic nie poszerza strony w bok (base-stylesheet.ts) */
html, body { overflow-x: clip; }
