/* Generated from Figma variables. Do not edit by hand — re-sync & regenerate from the Tokens tab. */

:root {
  /* Colors */
  --brand-2: #af8442;
  --light1: #f4f6f8;
  --brand: #b18844;
  --white: #ffffff;
  --black3: #0a192b;
  --black1: #5d6063;
  --light3: #b0b6bc;
  --light2: #cfd5da;
  --black2: #18293d;
  --color3: #314a5b;
  --color4: #153245;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 28px;
  --padding-vertical: 28px;
  --cards-gap: 10px;
  --section-gap: 48px;
  --section-padding: 110px;

  /* Radius */
  --border-radius: 0px;
}

/* Section vertical rhythm — the ONE canonical top/bottom padding every <section>
   uses (padding-block: var(--section-pad-block)). A single site-wide ladder keeps
   the gaps between sections identical and steps them down on tablet/phone. Desktop
   seeds from the Figma --section-padding token when present, else 96px. */
:root { --section-pad-block: var(--section-padding, 96px); }
@media (max-width: 1023px) { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.7); } }
@media (max-width: 767px)  { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.5); } }

/* Typography */
.text-16px-text {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  letter-spacing: -0.02em;
}

.text-48px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
  letter-spacing: -0.02em;
}

.text-24px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

.text-32px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
  letter-spacing: -0.02em;
}

.text-18px-text {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
}

.text-20px-text {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.text-64px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 70.4px;
  letter-spacing: -0.02em;
}

.text-28px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 27.4px;
  letter-spacing: -0.02em;
}

.text-40px-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.02em;
}

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a full GOLD pill (radius 39px, brand #b18844) with white bold label
      and a trailing arrow inside a filled white circle at the right end.
   2) Secondary is OUTLINE-ONLY — a 2px gold pill border, transparent fill, plain trailing
      arrow (no circle), dark/white label per band; visibly lower priority than the solid CTA.
   3) Everything that is NOT a button is SHARP — cards, image tiles and eyebrow chips are
      radius 0 flat rectangles; the pill buttons are the only rounded element, and being a
      flat brand there are NO soft drop-shadows (depth = surface steps / hairlines / hard offset).
   4) Section eyebrow is a small SOLID gold rectangle chip: uppercase, wide tracking (~1.69px),
      13px bold white text, tight 10/4px padding, radius 0.
   5) Cards separate by SURFACE + HAIRLINE, not shadow — light band = grey --light1 card on
      white, dark band = --black2 card on --black3; list rows split by thin --light3 rules,
      each row prefixed with a small gold arrow. */

:root {
  /* Accent = the design's PRIMARY CTA colour — here it genuinely IS --brand (the gold). */
  --accent: var(--brand);
  --accent-2: var(--accent);          /* CTA is a SOLID fill, not a gradient → keep = accent */
  --accent-contrast: var(--white);    /* readable label on the gold */
  --btn-shadow: none;                 /* flat/sharp brand — the CTA carries NO drop shadow */

  /* Radius scale — this brand is FLAT: every non-button element is radius 0.
     Buttons are the sole rounded exception (a full pill). */
  --radius-sm: 0px;                   /* inputs / chips */
  --radius-md: 0px;                   /* cards / tiles */
  --radius-lg: 0px;                   /* large containers */
  --radius-pill: 999px;               /* icon buttons */
  --btn-radius: 39px;                 /* PRIMARY button's real radius (from the close-up) — also shapes the slider arrows */

  --btn-height: 55px;                 /* ONE button height site-wide (from the close-up) */
  --btn-height-sm: 44px;
  --border-width: 1px;                /* ONE border width site-wide (2px only on the secondary CTA — a deliberate brand statement) */
}

/* ---------------------------------------------------------------------------
   Buttons — the exact classes the shared <Button> outputs (single source of truth).
   ONE shape everywhere; only COLOUR varies per band via --btn-bg / --btn-fg / --btn-accent.
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);
  padding-block: 0;
  padding-inline: 24px;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--btn-radius, var(--radius-pill, 999px));
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  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, filter 200ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent, var(--brand));
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — solid gold fill, white label. Flat brand → no drop shadow at rest. */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.94);       /* measured darken — no new hue, no soft glow */
  }
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.94); }

/* Trait 1: the primary CTA's arrow sits inside a filled white circle. */
.btn-primary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill, 999px);
  background: var(--accent-contrast, var(--white));
  color: var(--btn-bg, var(--accent, var(--brand)));
}
.btn-primary .arrow > svg,
.btn-primary .arrow > img { width: 55%; height: 55%; display: block; }

/* Secondary — outline-only, lower priority. 2px gold border is the deliberate brand statement. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, var(--black3, currentColor));
  border: 2px solid var(--btn-accent, var(--accent, var(--brand)));
  padding-inline: 32px;             /* from the close-up */
}
@media (hover: hover) {
  .btn-secondary:hover {            /* fill swap — exactly 2 properties, no reflow (border width unchanged) */
    background-color: var(--btn-accent, var(--accent, var(--brand)));
    color: var(--btn-fg-hover, var(--accent-contrast, var(--white)));
  }
}
.btn-secondary:active { transform: translateY(1px); }

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

/* Icon button — square, pill, gold fill (slider arrows, lightbox close). */
.btn-icon {
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); } }
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--accent, var(--brand)); outline-offset: 2px; }
.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, 44px); padding-inline: 18px; }

/* ---------------------------------------------------------------------------
   Hover vocabulary (reusable utilities). Flat/sharp brand → hard offset, no soft blur.
--------------------------------------------------------------------------- */

/* 1. Powiększenie — scale up */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* Image inside a fixed, clipped frame — zoom the image, never the box */
.media { overflow: hidden; border-radius: var(--radius-md, 0px); }
.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); } }

/* 2. Uniesienie — lift. Flat brand → a HARD, 0-blur offset shadow tinted with ink (one
   direction, down-right), never a soft smudge. */
.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(-4px);
    box-shadow: 8px 8px 0 color-mix(in srgb, var(--black3, #0a192b) 12%, transparent);
  }
}
.hover-lift:active { transform: translateY(-1px); }

/* 3. Zmiana koloru — colour swap */
.hover-fill { transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) {
  .hover-fill:hover {
    background-color: var(--accent, var(--brand));
    color: var(--accent-contrast, var(--white));
  }
}
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--accent, var(--brand)); border-color: var(--accent, var(--brand)); }
}

/* 4. Ruchoma strzałka — moving arrow (put the arrow in its own element so only it moves) */
.with-arrow { display: inline-flex; align-items: center; gap: 10px; }
.with-arrow .arrow { transition: transform 200ms ease; }
@media (hover: hover) { .with-arrow:hover .arrow { transform: translateX(4px); } }
.arrow-loop { animation: arrow-nudge 1.4s ease-in-out infinite; }
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* 5. Dodanie podkreślenia — animated underline (nav + inline links) */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent, var(--brand)), var(--accent, var(--brand)));
  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, var(--brand)); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent, var(--brand)); }
.link-underline-center { background-position: 50% 100%; }

/* ---------------------------------------------------------------------------
   Cards / tiles — flat rectangles (radius 0), separated by surface + hairline, not shadow.
--------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--light1, #f4f6f8);   /* light-band default; dark bands pass their own surface */
  border-radius: var(--radius-md, 0px);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 color-mix(in srgb, var(--black3, #0a192b) 12%, transparent);
  }
  .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, var(--brand)); outline-offset: 2px; }

/* Padded inner wrapper — .card is padless so flush media reaches its edges. */
.card-body { padding: var(--padding-vertical, 28px) var(--padding-horizontal, 28px); }

/* ---------------------------------------------------------------------------
   Inputs (forms) — flat boxes (radius 0) to match the brand; gold focus.
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  border: var(--border-width, 1px) solid var(--light3, #b0b6bc);
  border-radius: var(--radius-sm, 0px);
  background: var(--white, #fff);
  color: var(--black3, #0a192b);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #b0b6bc); }
.field:hover { border-color: var(--accent, var(--brand)); }
.field:focus {
  outline: none;
  border-color: var(--accent, var(--brand));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--brand)) 25%, transparent);
}
.field:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------------------------------------------------
   Content icons — monochrome, recolour EXCLUSIVELY via --icon-color.
--------------------------------------------------------------------------- */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-color: var(--icon-color, var(--accent, var(--brand)));
  -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 numbers.
--------------------------------------------------------------------------- */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-pill, 999px);
}
.step-num {
  line-height: 1;
  letter-spacing: 0;
  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;
}

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