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

:root {
  /* Colors */
  --light1: #f3f4f2;
  --light2: #dde0dd;
  --white: #ffffff;
  --black3: #090909;
  --brand: #f36a1d;
  --light3: #bfc3bf;
  --black2: #141414;
  --black1: #727773;
  --dark-graphite: #252525;

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

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

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

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a FLAT solid-orange rectangle — hard 6px corners, ZERO drop shadow at rest,
      with a plain trailing "->" arrow that slides right on hover (industrial, never a pill).
   2) Secondary is a 1px ORANGE outline on transparent with dark text + the same trailing arrow
      (an accent outline, not a neutral grey box) — fills orange on hover.
   3) Cards are white with a thin 1px light-grey (--light3) border and NO resting shadow — flat
      bordered tiles; separation is the border, the lift/shadow appear only on hover.
   4) Feature/service icons are bare monochrome ORANGE line-icons (no filled circle behind them),
      centred above uppercase titles.
   5) ONE tight 6px corner radius on EVERYTHING — buttons, cards, inputs, image tiles, icon boxes —
      never fully-rounded pills. */

:root {
  /* Accent — the design's primary CTA "Bezpłatna wycena" is solid --brand (#f36a1d) */
  --accent: var(--brand);
  --accent-2: var(--brand);          /* solid CTA, no gradient — kept equal to --accent */
  --accent-contrast: var(--white);   /* readable label on the accent fill */
  --btn-shadow: none;                /* the primary CTA is FLAT — no resting shadow (signature #1) */

  /* Radius — the design uses one tight 6px corner everywhere (signature #5) */
  --radius-sm: 6px;                  /* inputs / small chips */
  --radius-md: 6px;                  /* cards / tiles / image frames */
  --radius-lg: 8px;                  /* large containers */
  --radius-pill: 999px;             /* icon buttons only */
  --btn-radius: 6px;                 /* PRIMARY button radius — also shapes the shared slider arrows */

  /* One button height site-wide — seeded from the ~55px primary CTA */
  --btn-height: 55px;
  --btn-height-sm: 44px;

  /* Neutral separator (signature #3) */
  --border: var(--light3);
  --border-width: 1px;
}

/* ---------------------------------------------------------------------------
   Buttons — ONE shape site-wide; only colour varies per band via --btn-* vars
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);
  padding-block: 0;
  padding-inline: 32px;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--btn-radius, var(--radius-sm, 6px));
  font-family: "Geist", sans-serif;
  font-size: 18px;
  font-weight: 600;
  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,
              filter 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 — flat solid-orange fill, white label, no resting shadow (signature #1) */
.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 — 1px orange outline on transparent, dark label (signature #2) */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, var(--black2, #141414));
  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-hover-fg, var(--accent-contrast, var(--white)));
    transform: translateY(-2px);
  }
}
.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: 12px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 10%, transparent);
  }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — square, tight 6px radius to match the brand's buttons (not a circle) */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: var(--btn-radius, var(--radius-sm, 6px));
  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, filter 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); filter: brightness(0.94); } }
.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; }

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

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

/* Uniesienie — lift + shadow (cards / tiles) */
.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 2px 4px color-mix(in srgb, var(--black3, #090909) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #090909) 18%, transparent);
  }
}
.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));
  }
}

/* Ruchoma strzałka — moving arrow (the design's trailing "->") */
.with-arrow { display: inline-flex; align-items: center; gap: 12px; }
.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); }
}

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

/* ---------------------------------------------------------------------------
   Content icons (monochrome, recolorable) — bare orange line-icons (signature #4)
   --------------------------------------------------------------------------- */
.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 (numbered process steps)
   --------------------------------------------------------------------------- */
.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;
}

/* ---------------------------------------------------------------------------
   Cards / tiles — flat white bordered tile, no resting shadow (signature #3)
   --------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: var(--border-width, 1px) solid var(--border, var(--light3));
  border-radius: var(--radius-md, 6px);
  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 2px 4px color-mix(in srgb, var(--black3, #090909) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #090909) 18%, 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; }

.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* ---------------------------------------------------------------------------
   Inputs (forms)
   --------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: var(--border-width, 1px) solid var(--border, var(--light3));
  border-radius: var(--radius-sm, 6px);
  background: var(--white);
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black2, #141414);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #727773); }
.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
   --------------------------------------------------------------------------- */
.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;
  }
}
