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

:root {
  /* Colors */
  --light2: #e6edf2;
  --brand: #0274d7;
  --black3: #0c1d33;
  --light3: #c2becf;
  --light1: #f4f7f9;
  --black1: #464b52;
  --brand-2: #07519a;
  --white: #ffffff;
  --white: #FFFFFF;
  --black2: #233955;
  --icon-color: #0274d7;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --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: "Bahnschrift", sans-serif;
  font-size: 16px;
  font-weight: 350;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "Bahnschrift", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05px;
  letter-spacing: -0.02em;
}

.text-32px-title {
  font-family: "Eurostile", sans-serif;
  font-size: 32px;
  font-weight: 850;
  line-height: 38.4px;
  letter-spacing: -0.01em;
}

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

.text-28px-title {
  font-family: "Eurostile", sans-serif;
  font-size: 28px;
  font-weight: 850;
  line-height: 27.4px;
  letter-spacing: -0.01em;
}

.text-48px-title {
  font-family: "Eurostile", sans-serif;
  font-size: 42px;
  font-weight: 850;
  line-height: 54px;
  letter-spacing: -0.01em;
}

.text-16px-text-accent {
  font-family: "Bahnschrift", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.4px;
}

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

.text-64px-title {
  font-family: "Eurostile", sans-serif;
  font-size: 64px;
  font-weight: 850;
  line-height: 70.4px;
  letter-spacing: -0.01em;
}

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Ruthlessly SQUARE — radius 0 on EVERY button, card, input, icon tile and badge
      (all four corners, never mixed). No pills, no rounding anywhere (--btn-radius: 0).
   2) Primary CTA = a SOLID brand-blue (#0274d7) block, white UPPERCASE Bahnschrift-SemiBold
      label + a trailing right-arrow in its own slot that slides right on hover. Flat at rest.
   3) Secondary = a 2px brand-blue BOTTOM-border-only button (no fill, no side/top borders) +
      trailing arrow — the lone blue underline bar IS the whole chrome; transparent so it reads
      on white (dark label) and on the navy band (white label) alike.
   4) Icon controls are SOLID brand-blue SQUARES with a white glyph — never a circle, never an
      outline; even the slider / icon buttons stay square to match the brand.
   5) Inputs are open boxes — 1px --light3 outline, NO fill, uppercase placeholder, square
      corners; the ONE soft down-right ambient shadow in the whole system belongs to the floating
      white form/CTA card, everything else stays flat. */

:root {
  /* Accent — the design's PRIMARY CTA colour is the bright brand blue (#0274d7); here it IS --brand. */
  --accent: var(--brand);               /* button fills / CTAs / active states */
  --accent-2: var(--brand);             /* solid CTA (no gradient) — kept = --accent */
  --accent-contrast: var(--white);      /* readable label on the accent */
  --ink: var(--black3);                 /* darkest navy — body ink + shadow tint */
  --border: var(--light3);              /* 1px neutral separators */

  /* Radius scale — this brand is square: every step is 0. */
  --radius-sm: 0px;                     /* inputs / chips */
  --radius-md: 0px;                     /* cards / tiles */
  --radius-lg: 0px;                     /* large containers */
  --radius-pill: 0px;                   /* icon / slider buttons stay SQUARE, not round */
  --btn-radius: 0px;                    /* the primary button's real radius; also shapes Slider arrows */

  /* Button geometry — read off the "Bezpłatna wycena" CTA + the close-ups (radius 0, 18px, ~56px). */
  --btn-height: 56px;
  --btn-height-sm: 44px;
  --btn-pad-inline: 32px;
  --btn-font-size: 18px;
  --btn-weight: 600;
  --btn-transform: uppercase;
  --btn-tracking: -0.02em;
  --btn-shadow: none;                   /* primary is FLAT at rest — the design draws no resting shadow on it */

  /* Elevation — one light source (above), tinted with the navy ink, blur > offset. */
  --shadow-sm: 0 1px 2px rgba(12, 29, 51, 0.06);
  --shadow-md: 0 2px 4px rgba(12, 29, 51, 0.06), 0 10px 18px -6px rgba(12, 29, 51, 0.16);
  --shadow-lg: 0 8px 24px -6px rgba(12, 29, 51, 0.22);
}

/* ============================================================================
   BUTTONS — one invariant shape site-wide; only COLOUR varies per band.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  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: "Bahnschrift", sans-serif;
  font-size: var(--btn-font-size, 18px);
  font-weight: var(--btn-weight, 600);
  text-transform: var(--btn-transform, uppercase);
  letter-spacing: var(--btn-tracking, -0.02em);
  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, var(--brand));
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — solid brand-blue block, white label, trailing arrow. */
.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: var(--shadow-md);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary — 2px brand-blue BOTTOM border only, no fill; adapts to the band via --btn-fg. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, var(--black3));
  border: 1px solid transparent;
  border-bottom: 2px solid var(--btn-accent, var(--accent, var(--brand)));
  padding-inline: var(--btn-pad-inline, 32px);
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 8%, transparent);
  }
}
.btn-secondary:active { background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 14%, transparent); }

/* Ghost / text — no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--black3));
  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:active { background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 16%, transparent); }

/* Icon button — SOLID blue SQUARE (zero radius, matching the brand), white glyph. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--radius-pill, 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, box-shadow 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.06); box-shadow: var(--shadow-md); } }
.btn-icon:active { transform: scale(0.96); box-shadow: none; }
.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; }

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

/* ============================================================================
   TRAILING ARROW — moves right (every arrow in this design points →).
   ========================================================================== */
.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: var(--arrow-nudge, translateX(4px)); } }

/* ============================================================================
   HOVER UTILITIES — the standard vocabulary.
   ========================================================================== */
/* 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); }

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

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

/* ============================================================================
   LINKS — animated underline (grows from the left), brand-blue.
   ========================================================================== */
.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)); }

/* ============================================================================
   CARDS / TILES — flat white box, 1px hairline; lift + shadow on hover.
   ========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border, var(--light3));
  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, 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 for text cards — .card itself stays padless so flush media reaches the edges. */
.card-body { padding: var(--padding-vertical, 24px) var(--padding-horizontal, 24px); }

/* ============================================================================
   ICON TILE — solid brand-blue square with a white glyph (signature #4).
   ========================================================================== */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--radius-md, 0px);
  background-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--white));
}
.icon-tile > svg, .icon-tile > img, .icon-tile > .svc-icon { width: 60%; height: 60%; }

/* Content icon — monochrome mask, recoloured via --icon-color (never raw background-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;
}

/* ============================================================================
   INPUTS — open boxes: 1px --light3 outline, no fill, square (signature #5).
   ========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  min-height: 48px;
  border: 1px solid var(--light3, #c2becf);
  border-radius: var(--radius-sm, 0px);
  background: var(--white);
  color: var(--black1, #464b52);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c2becf); }
.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-DATA PLACEHOLDER — temporary bracketed value, identical site-wide.
   ========================================================================== */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

/* ============================================================================
   Reduced motion — kill transitions/animations for users who ask.
   ========================================================================== */
@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; }
