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

:root {
  /* Colors */
  --black3: #152a10;
  --black1: #656765;
  --brand: #ad8951;
  --light1: #f3ede5;
  --white: #ffffff;
  --black2: #2e4228;
  --light2: #d9d5d1;
  --light3: #bdb7b1;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 10px;
  --section-gap: 42px;
  --section-padding: 120px;

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

/* 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: "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.4px;
}

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

.text-32px-title {
  font-family: "Source Serif 4", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 38.4px;
  letter-spacing: -0.02em;
}

.text-48px-title {
  font-family: "Source Serif 4", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 57.6px;
  letter-spacing: -0.02em;
}

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

.text-14px-text {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.09em;
}

.text-24px-title {
  font-family: "Source Serif 4", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

.text-40px-title {
  font-family: "Source Serif 4", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.02em;
}

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

/* UI signature — derived from the design; every component honours these:
   1) Asymmetric "leaf" button corner — every button is radius 2px 2px 32px 2px
      (bottom-right rounded ~32px, the other three corners near-square 2px). THE brand signature.
   2) Primary CTA is a FLAT solid gold/tan block (var(--brand) #ad8951), white BOLD UPPERCASE
      wide-tracked label + trailing right arrow — no gradient, no drop shadow.
   3) Secondary is a dark-green box (var(--black3) fill + 2px var(--black2) border, white label) —
      a neutral/dark lower-priority treatment, NEVER a second gold clone.
   4) Cards are sharp-cornered (2px), flat and shadowless at rest — image tiles carry a dark
      bottom gradient with white text; process tiles are pure white blocks with a big faint number.
   5) Content icons sit inside a filled dark-green circle (var(--black2), white glyph) — the
      icon-badge motif used across services / why-us / process. */

/* ---------------------------------------------------------------------------
   Semantic aliases derived from the design. Components use THESE, never raw
   --brand / --border-radius. tokens.css carries the raw palette/spacing/type.
   --------------------------------------------------------------------------- */
:root {
  --accent: var(--brand);              /* #ad8951 gold/tan — the design's PRIMARY CTA fill */
  --accent-2: var(--brand);            /* solid CTA (no gradient) — keep = --accent */
  --accent-contrast: var(--white);     /* readable text on the accent */
  --btn-shadow: none;                  /* design draws a FLAT button — no resting shadow */

  --btn-radius: 2px 2px 32px 2px;      /* signature asymmetric "leaf" corner — same on every button */
  --btn-height: 58px;                  /* ONE button height site-wide (Figma 58px) */
  --btn-height-sm: 44px;

  --radius-sm: 2px;                    /* inputs / small chips — design is square */
  --radius-md: 2px;                    /* cards / tiles */
  --radius-lg: 4px;                    /* large containers / hero & about cards */
  --radius-pill: 999px;                /* icon circles / fully-round controls */

  --icon-badge: var(--black2);         /* green circle behind monochrome content icons */
}

/* ===========================================================================
   BUTTONS — single source of truth for <Button>. ONE invariant shape; only
   colour varies per band (--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, 58px);
  padding-block: 0;
  padding-inline: 32px;
  border: 2px solid transparent;
  border-radius: var(--btn-radius, 2px 2px 32px 2px);
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  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(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — flat solid gold block. Per-band override via --btn-bg / --btn-fg. */
.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);
  }
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.9); }

/* Secondary — dark-green box + darker-green border (neutral, lower-priority). */
.btn-secondary {
  background-color: var(--btn-bg, var(--black3));
  color: var(--btn-fg, var(--white));
  border-color: var(--btn-accent, var(--black2));
}
@media (hover: hover) {
  .btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--btn-accent-hover, var(--accent, var(--brand)));
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — the gold "Ansehen" / "read more" affordance, no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-accent, var(--accent, var(--brand)));
  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))) 12%, transparent);
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — square control (slider arrows, lightbox close), gold filled circle. */
.btn-icon {
  width: 48px;
  height: 48px;
  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(--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: 20px; }

/* ===========================================================================
   HOVER VOCABULARY (reusable utilities)
   =========================================================================== */

/* 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-in-frame zoom */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius)); }
.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: 0 16px 32px -12px rgba(0, 0, 0, 0.22);
  }
}
.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(--brand); border-color: var(--brand); }
}

/* 4. Ruchoma strzałka — moving arrow */
.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(--brand), 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(--brand); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--brand); }
.link-underline-center { background-position: 50% 100%; }

/* ===========================================================================
   CONTENT ICONS — monochrome, recolourable via CSS mask (icon-badge motif)
   =========================================================================== */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-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;
}
/* The brand's icon BADGE — glyph in a filled dark-green circle. Wrap .svc-icon in this. */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-pill, 999px);
  background-color: var(--icon-badge, var(--black2));
}
.icon-badge .svc-icon { background-color: var(--accent-contrast, var(--white)); width: 24px; height: 24px; }

/* ===========================================================================
   CARDS / TILES — flat & sharp-cornered at rest; lift + zoom + arrow on hover
   =========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius));
  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 16px 32px -12px rgba(0, 0, 0, 0.22); }
  .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(--brand); outline-offset: 2px; }

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

/* ===========================================================================
   INPUTS (contact form etc.)
   =========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px;
  border: 1px solid var(--light3, #bdb7b1);
  border-radius: var(--radius-sm, var(--border-radius, 2px));
  background: var(--white);
  font-family: "Source Sans 3", sans-serif;
  font-size: 18px;
  line-height: 22.4px;
  color: var(--black3);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3); }
.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; }

/* ===========================================================================
   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;
  }
}
