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

:root {
  /* Colors */
  --black3: #1a1a1c;
  --brand: #114c97;
  --black1: #737373;
  --white: #FFFFFF;
  --black2: #272728;
  --blue-1: #02489C;
  --blue-2: #073D82;
  --white: #ffffff;
  --light2: #dbdddf;
  --text-white: #FFFFFF;
  --white-text: #FFFCFC;
  --light1: #f2f4f5;
  --black-3: #6a6a77;
  --light-graphite: #706e6a;
  --white1: #ffffff;
  --black: #272727;
  --gray-2: #8B8B8B;
  --light3: #c0c2c3;
  --dark-graphite: #252525;

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

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

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

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

.text-60px-title {
  font-family: "Teko", sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 70.4px;
}

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

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

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

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

.text-18-px-button {
  font-family: "Kaneda Gothic", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.02em;
}

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a SOLID --brand blue (#114c97) HARD BLOCK with only a 4px radius
      (sharp corners, NOT a pill), white UPPERCASE Teko label and a trailing DOUBLE-chevron »
      that slides right on hover.
   2) Secondary ("WIĘCEJ USŁUG") is an OUTLINE — near-white fill + 2px solid --brand border +
      dark near-black text, same 4px radius; clearly lower-priority, never a blue clone of the CTA.
   3) Brand "beveled block" signature — a HARD 0-blur down-right offset shadow in darker --blue-2
      (#073d82) sitting under the blue accent block (taken from the nav phone button's
      border-b-4 border-r-4 #073d82). The primary button carries it as its resting --btn-shadow.
   4) Cards are FLAT WHITE with sharp 4px corners and NO border, the image flush to the top edge,
      a generously (32px) padded text body, and a soft large drop-shadow (0 25px 25px rgba(0,0,0,.15)).
   5) Accent-underline vocabulary repeats — nav links / active item get a 2px solid --brand
      underline right under the label, and inline "read more" links are --brand UPPERCASE Teko
      with a sliding double-chevron ». */

:root {
  /* Accent = the design's PRIMARY CTA colour (BEZPŁATNA WYCENA) = --brand #114c97,
     NOT a decorative token. --accent-2 is the darker blue used for the hard beveled edge. */
  --accent: var(--brand);                 /* #114c97 — CTA fill / active states */
  --accent-2: var(--blue-2);              /* #073d82 — darker end / hard-offset shadow colour */
  --accent-contrast: var(--white);        /* readable text on the accent */

  /* Primary button RESTING signature shadow — the brand's HARD 0-blur down-right beveled edge. */
  --btn-shadow: 3px 3px 0 var(--blue-2, #073d82);

  /* Radius scale — this is a SHARP-cornered brand: the design rounds everything at 4px.
     Only icon buttons go fully round. */
  --radius-sm: 4px;                        /* inputs / small chips */
  --radius-md: 4px;                        /* cards / tiles */
  --radius-lg: 8px;                        /* large containers / hero form card */
  --radius-pill: 999px;                    /* icon buttons only */

  /* ONE button height for the whole site — seeded from the design's primary CTA
     (padding 16px/32px + Teko 28px label ≈ 58px). */
  --btn-height: 58px;
  --btn-height-sm: 44px;
}

/* ---------------------------------------------------------------------------
   Buttons — ONE invariant shape across the site; 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, 58px);
  padding-block: 0;
  padding-inline: 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  font-family: "Teko", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.56px;
  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 — solid --brand block + the hard beveled resting shadow. */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  border-color: transparent;
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 4px 6px 0 var(--blue-2, #073d82);
    filter: brightness(0.96);
  }
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0 var(--blue-2, #073d82);
  filter: brightness(0.94);
}

/* Secondary — outline: near-white fill, 2px --brand border, dark near-black text. */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #f2f4f5));
  color: var(--btn-fg, var(--black3, #1a1a1c));
  border-color: var(--btn-accent, var(--brand));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--brand));
    color: var(--btn-fg-hover, var(--white));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(1px); }

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

/* Icon button — square, fully round; used for slider arrows / lightbox glyphs. */
.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, filter 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); filter: brightness(0.96); } }
.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/typography unchanged. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; font-size: 22px; }

/* ---------------------------------------------------------------------------
   Hover vocabulary (reusable utilities)
--------------------------------------------------------------------------- */

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

/* image-in-frame zoom */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 4px)); }
.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 (translateY + 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 change */
.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 (the brand's trailing » double-chevron) */
.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: 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 accent 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(--black3, #1a1a1c); }
.link-underline-center { background-position: 50% 100%; }

/* ---------------------------------------------------------------------------
   Content icons (monochrome, recolourable) — CSS mask
--------------------------------------------------------------------------- */
.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;
}

/* ---------------------------------------------------------------------------
   Step number badge
--------------------------------------------------------------------------- */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-pill, 999px);
  background-color: 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;
}

/* ---------------------------------------------------------------------------
   Cards / tiles — flat white, sharp 4px, image flush, padded body
--------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 4px));
  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; }

/* Padless card → text goes in a padded inner wrapper (design draws 32px). */
.card-body { padding: 32px; }

/* ---------------------------------------------------------------------------
   Inputs (forms — hero "wycena" / contact)
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #c0c2c3);
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black3, #1a1a1c);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #737373); }
.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) 25%, transparent);
}
.field:user-invalid { border-color: #e5484d; }

/* ---------------------------------------------------------------------------
   Missing-data placeholder
--------------------------------------------------------------------------- */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

/* ---------------------------------------------------------------------------
   Motion guard
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
