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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dcdedd;
  --brand: #141414;
  --black3: #1c1d1c;
  --black1: #606261;
  --light1: #f2f8fa;
  --black2: #393737;
  --brand-2: #a5a8a6;
  --white: #FFFFFF;
  --light3: #c0c2c3;
  --dark-graphite: #252525;

  /* Spacing */
  --cards-gap: 24px;
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --section-gap: 48px;
  --section-padding: 100px;

  /* 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: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.4px;
  letter-spacing: 0.01em;
}

.text-28px-title {
  font-family: "Clash Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 36.4px;
}

.text-18px-text {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.4px;
  letter-spacing: 0.04em;
}

.text-80px-title {
  font-family: "Cossette Titre", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 88px;
  letter-spacing: -0.02em;
}

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

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

.text-24px-title {
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31.2px;
}

.text-64px-title {
  font-family: "Cossette Titre", sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 70.4px;
  letter-spacing: -0.02em;
}

.text-32px-title {
  font-family: "Archivo", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
}

.text-48px-title {
  font-family: "Cossette Titre", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 57.6px;
  letter-spacing: -0.02em;
}

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

/* UI signature — derived from the design; every component honours these:
   1) Dead-sharp geometry: radius 0 on EVERYTHING — buttons, inputs, cards, image frames
      all have hard 90° corners. No rounding anywhere. (Figma --border-radius: 0px, every
      button is overflow-clip with no radius.) This is the brand's whole posture.
   2) Primary CTA is a solid near-black (#141414 / --brand) rectangle, white Archivo-SemiBold
      label, with a diagonal ↗ arrow pinned to the right — the arrow points up-right ("go"),
      so on hover it travels ALONG its own line (translate(3px,-3px)), never sideways.
   3) Thin single-pixel OUTLINED rectangles are the brand motif — empty 1–2px framed squares,
      often overlapping/offset over photos (hero white frames, about-us black/grey frames).
      Decoration is a hollow outline, never a fill, never a shadow.
   4) Tiles/cards are FLAT at rest: no rounding, no border, no shadow — flush rectangular
      photos packed on a tight 24px grid, separated only by a white surface step on the
      light-grey band (#f2f8fa). Elevation (soft graphite-tinted shadow) is reserved for
      floating overlays (the hero form card, floating photos) and appears on hover.
   5) Inputs are bordered rectangles (1px --light2), sharp corners, label floating ABOVE in
      muted grey (#606261), placeholder in the same grey — never underline-only, never a
      filled pill. The hero form is a white card holding a row of these + a dark submit. */

:root {
  /* Accent — the design's primary CTA is the near-black --brand (#141414), used solid.
     This brand is monochrome, so the "accent" is graphite-black, not a hue. */
  --accent: var(--brand);               /* #141414 — primary CTA fill */
  --accent-2: var(--brand);             /* solid CTA (no gradient) → same as accent */
  --accent-contrast: var(--white);      /* readable label on the accent */
  --btn-shadow: none;                   /* the CTA is flat at rest — no resting shadow */

  /* Radius scale — the design is sharp everywhere, so every step is 0.
     --radius-pill stays round only as the theoretical fallback for truly circular chrome. */
  --radius-sm: 0px;                      /* inputs / chips */
  --radius-md: 0px;                      /* cards / tiles */
  --radius-lg: 0px;                      /* large containers */
  --radius-pill: 999px;                  /* fallback only — this brand uses no pills */
  --btn-radius: 0px;                     /* the primary button's REAL radius — also shapes the shared slider arrows */

  /* Button geometry (invariant site-wide) — from the Figma CTA frames (h-58 / px-32 / 16px SemiBold). */
  --btn-height: 56px;
  --btn-pad-inline: 32px;
  --btn-font-size: 16px;
  --btn-weight: 600;
  --btn-transform: none;                 /* labels are sentence case ("Gratis offerte") */
  --btn-tracking: 0.16px;

  /* Separation language — flat rest, soft graphite-tinted shadow on lift (matches the
     hero form card's rgba(83,94,103,…) shadow). One light source, from above (y > 0). */
  --border: var(--light2);               /* 1px neutral separator — inputs, dividers */
  --shadow-md: 0 2px 4px rgba(37, 37, 37, 0.06), 0 14px 28px -12px rgba(83, 94, 103, 0.22);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12), 0 24px 50px rgba(83, 94, 103, 0.25);
}

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: var(--btn-height, 56px);
  padding-block: 0;
  padding-inline: var(--btn-pad-inline, 32px);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, 0px);
  font-family: "Archivo", sans-serif;
  font-size: var(--btn-font-size, 16px);
  font-weight: var(--btn-weight, 600);
  text-transform: var(--btn-transform, none);
  letter-spacing: var(--btn-tracking, 0.16px);
  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(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* The trailing arrow points diagonally up-right (↗) — it travels ALONG its own line on hover,
   never horizontally. Scoped to buttons so → arrows elsewhere keep sliding right. */
.btn .arrow { transition: transform 200ms ease; }
.btn .arrow { --arrow-nudge: translate(3px, -3px); }

/* Primary — solid near-black rectangle, white label, flat 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);
    box-shadow: 0 8px 20px -6px rgba(37, 37, 37, 0.28);
  }
  .btn-primary:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary — lower-priority OUTLINE: transparent box, ink border/text, fills on hover.
   Clearly subordinate to the solid primary; reads on both light and dark bands via --btn-accent. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-accent, var(--accent, var(--brand)));
  border-color: var(--btn-accent, var(--accent, var(--brand)));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--accent, var(--brand)));
    color: var(--btn-fg, var(--accent-contrast, var(--white)));
  }
  .btn-secondary:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); }
}
.btn-secondary:active { transform: translateY(0); }

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

/* Icon button — square (brand is sharp), accent fill. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, 0px);
  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;
}
@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; }

/* Small size — only height + inline padding shrink; radius/typography unchanged. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 22px; }

/* ------------------------------------------------------------ Hover vocabulary */
/* 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); }

/* 2. Uniesienie — lift + graphite-tinted shadow (the design's floating-overlay language) */
.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 — fill 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)); }
}

/* 4. Ruchoma strzałka — moving arrow (diagonal ↗ by default here; travels along its own line) */
.with-arrow { display: inline-flex; align-items: center; gap: 16px; }
.with-arrow .arrow { transition: transform 200ms ease; }
@media (hover: hover) { .with-arrow:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); } }

/* 5. Dodanie podkreślenia — animated underline (inline text 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); }

/* ----------------------------------------------------------------- Cards / tiles */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  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(-6px); box-shadow: var(--shadow-md); }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* `.card` is padless so flush photos reach its edges; text lives in a padded inner wrapper. */
.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* ----------------------------------------------------------------------- Inputs */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  border: 1px solid var(--border, var(--light2));
  border-radius: var(--radius-sm, 0px);
  background: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--black3);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #606261); }
.field:hover { border-color: var(--brand); }
.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field:user-invalid { border-color: #e5484d; }

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

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