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

:root {
  /* Colors */
  --white: #ffffff;
  --brand: #415126;
  --brand-2: #374523;
  --black3: #21140f;
  --light3: #c5b69d;
  --black2: #1b1b1b;
  --light1: #f2f4f5;
  --black1: #43413d;
  --light2: #dddad3;
  --dark-graphite: #252525;

  /* Spacing */
  --cards-gap: 20px;
  --padding-vertical: 32px;
  --section-gap: 48px;
  --section-padding: 110px;
  --padding-horizontal: 32px;

  /* 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-uppercase {
  font-family: "Radio Canada", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 22.4px;
}

.text-20-px-button {
  font-family: "Fira Sans Condensed", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 21.4px;
  letter-spacing: 0.01em;
}

.text-48px-title {
  font-family: "Fira Sans Condensed", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 57.6px;
  letter-spacing: -0.01em;
}

.text-16px-text {
  font-family: "Radio Canada", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

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

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

.text-24px-title {
  font-family: "Radio Canada", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.03em;
}

.text-14px-text {
  font-family: "Radio Canada", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
}

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = solid olive-green gradient block (var(--brand) → var(--brand-2)),
      6px radius, ~58px tall, 20px SemiBold condensed label, a trailing arrow sealed in
      a WHITE CIRCULAR DISC pointing diagonally up-right, soft ambient shadow + 1px
      translucent-white inner border.
   2) Secondary CTA is a quiet NEUTRAL (white fill, dark ink text, thin light border,
      same 6px radius) — clearly lower priority, never a green clone of the primary.
   3) Cards are soft, medium-rounded (16px) tiles with NO hard edge — edge-to-edge photo
      tiles or bordered white bodies; elevation is a soft tinted ambient shadow, never a
      hard offset.
   4) Glass card variant for dark bands: translucent fill + 1px white-10% hairline +
      16px radius + deep soft tinted shadow (the why-us opinia cards).
   5) Icon affordances ride inside a FILLED CIRCULAR DISC (white disc on the green CTA),
      and hover nudges the glyph ALONG the diagonal it points — never a bare arrow sliding
      sideways. */

:root {
  /* Accent — the design's primary CTA is the olive-green --brand → --brand-2 gradient */
  --accent: var(--brand);            /* #415126 */
  --accent-2: var(--brand-2);        /* #374523 — darker end of the CTA gradient */
  --accent-contrast: var(--white);   /* readable text on the accent */

  /* Ink + separators (semantic aliases over the palette) */
  --ink: var(--black3);              /* #21140f — headings */
  --ink-soft: var(--black1);         /* #43413d — body copy */
  --border: var(--light2);           /* #dddad3 — hairlines, card/field borders */

  /* Radius scale — read per element from the design (token --border-radius is 0 and wrong) */
  --radius-sm: 6px;                  /* inputs / small chips / small buttons */
  --radius-md: 16px;                 /* cards / tiles / service + glass cards */
  --radius-lg: 24px;                 /* large containers */
  --radius-pill: 999px;             /* discs / icon buttons / arrow disc */

  /* Primary button geometry — exact px off the Figma CTA close-up */
  --btn-radius: 6px;
  --btn-height: 58px;
  --btn-height-sm: 44px;
  --btn-pad-inline: 32px;
  --btn-font-size: 20px;
  --btn-weight: 600;
  --btn-shadow: 0 11px 19px rgba(0, 0, 0, 0.11);  /* the CTA's resting signature shadow */

  /* Elevation scale — soft, tinted, one light source from above */
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--black3) 6%, transparent);
  --shadow-md: 0 2px 4px color-mix(in srgb, var(--black3) 6%, transparent),
               0 14px 28px -12px color-mix(in srgb, var(--black3) 18%, transparent);
  --shadow-lg: 0 4px 8px color-mix(in srgb, var(--black3) 8%, transparent),
               0 24px 44px -14px color-mix(in srgb, var(--black3) 22%, transparent);
}

/* ---------------------------------------------------------------------------
   Buttons — the shared <Button> outputs these exact classes
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: var(--btn-height, 58px);
  padding-block: 0;
  padding-inline: var(--btn-pad-inline, 32px);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-sm, 6px));
  font-family: "Fira Sans Condensed", sans-serif;
  font-size: var(--btn-font-size, 20px);
  font-weight: var(--btn-weight, 600);
  letter-spacing: var(--btn-tracking, 0.2px);
  text-transform: var(--btn-transform, none);
  font-variant-caps: var(--btn-caps, normal);
  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;
}
.btn--sm {
  min-height: var(--btn-height-sm, 44px);
  padding-inline: 18px;
  font-size: 16px;
}

/* Primary — the olive-green gradient CTA + its resting signature shadow + inner hairline */
.btn-primary {
  background: var(--btn-bg, linear-gradient(90deg, var(--accent, var(--brand)), var(--accent-2, var(--accent, var(--brand)))));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--accent) 24%, transparent),
                0 16px 26px -8px color-mix(in srgb, var(--accent) 40%, transparent);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary — the quiet neutral (white fill, dark ink, thin light border) */
.btn-secondary {
  background-color: var(--btn-bg, var(--white));
  color: var(--btn-fg, var(--black2, var(--ink)));
  border-color: var(--btn-accent, var(--border));
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}
.btn-secondary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

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

/* Icon button — square/disc control (slider arrows, lightbox close) */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  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)));
  border: none; cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 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); outline-offset: 2px; }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* Trailing arrow — signature: inside the primary CTA it rides in a WHITE circular disc
   and nudges along its diagonal; plain buttons slide a bare arrow to the right. */
.btn .arrow { transition: transform 200ms ease; display: inline-flex; }
.btn-primary .arrow {
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-pill, 999px);
  background: var(--white);
  color: var(--accent, var(--brand));
  --arrow-nudge: translate(3px, -3px);   /* diagonal ↗ — moves along its own line */
}
.btn-primary .arrow > svg, .btn-primary .arrow > img { width: 55%; height: 55%; display: block; }
@media (hover: hover) {
  .btn:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}

/* ---------------------------------------------------------------------------
   Links
--------------------------------------------------------------------------- */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent), var(--accent));
  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); }

/* ---------------------------------------------------------------------------
   Hover utilities — the standard vocabulary (reference by name, combine per role)
--------------------------------------------------------------------------- */
/* 1. 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 inside a fixed, clipped frame — zoom the image, not the box */
.media { overflow: hidden; border-radius: var(--radius-md, 16px); }
.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 + shadow */
.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: var(--shadow-md); }
}
.hover-lift:active { transform: translateY(-2px); }

/* 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); border-color: var(--accent); }
}

/* 4. Ruchoma strzałka — moving arrow */
.with-arrow { display: inline-flex; align-items: center; gap: 8px; }
.with-arrow .arrow { transition: transform 200ms ease; }
@media (hover: hover) { .with-arrow:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); } }

/* 5. Dodanie podkreślenia — animated underline is .link-underline above */

/* ---------------------------------------------------------------------------
   Cards / tiles — soft, medium-rounded, elevation from a tinted ambient shadow
--------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, 16px);
  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: var(--shadow-md); }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* .card is padless so flush media reaches its edges; text goes in .card-body */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* Bordered white body variant (process/faq tiles) — hairline, no resting shadow */
.card--outline { border: 1px solid var(--border); }

/* Glass card — translucent fill over dark bands (why-us opinia cards) */
.card--glass {
  background: color-mix(in srgb, var(--accent) 72%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 12px color-mix(in srgb, var(--black3) 10%, transparent),
              0 23px 34px -14px color-mix(in srgb, var(--black3) 24%, transparent);
  color: var(--accent-contrast, var(--white));
}

/* ---------------------------------------------------------------------------
   Form inputs
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3); }
.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) 25%, transparent);
}
.field:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------------------------------------------------
   Content icons — monochrome, recolourable via --icon-color
--------------------------------------------------------------------------- */
.svc-icon {
  display: inline-block;
  width: 42px; height: 42px;
  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 (numbered process steps)
--------------------------------------------------------------------------- */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-pill, 999px);
  background: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--white));
}
.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 dashboard 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;
  }
}

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