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

:root {
  /* Colors */
  --black3: #16222f;
  --brand: #47b5e5;
  --black1: #485c6c;
  --white: #ffffff;
  --light2: #c7d1d9;
  --light3: #959ba2;
  --black2: #233241;
  --light1: #f2f6f8;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --section-gap: 54px;
  --section-padding: 120px;

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

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

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a FLAT solid sky-blue (var(--brand) #47b5e5) rectangle at 12px radius with NO resting shadow, a white UPPERCASE label and a trailing arrow that slides right on hover.
   2) Secondary button is white with a 2px NEUTRAL grey (var(--light3) #959ba2) outline and dark-navy (var(--black3)) uppercase text — never a blue clone of the primary; it fills navy on hover.
   3) Icons sit inside a FILLED accent-blue circle/disc (pill) with a white glyph — the recurring mark across hero feature chips and process step badges.
   4) Inputs are white BOXED fields (not underlines): 1px light-grey (var(--light2) #c7d1d9) border, 12px radius, grey (var(--black1)) placeholder, compact 40px height.
   5) Cards carry the brand's SOFT layered shadow (0 20px 50px rgba(50,50,93,.1), 0 10px 30px rgba(0,0,0,.1)) on a 12px-radius surface with a thin var(--light2) border; they lift and deepen that shadow on hover. */

:root {
  /* Accent — the design's PRIMARY CTA colour is the brand sky-blue itself */
  --accent: var(--brand);
  --accent-2: var(--brand);          /* CTA is SOLID, not a gradient → keep = --accent */
  --accent-contrast: var(--white);   /* readable label on the accent fill */
  --btn-shadow: none;                /* the primary CTA is flat — no resting shadow */

  /* Radius scale — derived per element role from the design */
  --radius-sm: 8px;                  /* small chips / badges */
  --radius-md: 12px;                 /* inputs, cards, buttons — the design's dominant radius */
  --radius-lg: 20px;                 /* large containers / project cards / floating heading pills */
  --radius-pill: 999px;              /* icon discs / process step badges */
  --btn-radius: var(--radius-md);    /* the primary button's REAL radius (12px) — also shapes the shared slider arrows */

  /* Buttons — ONE height for the whole site, seeded from the primary CTA close-up (~53px) */
  --btn-height: 53px;
  --btn-height-sm: 40px;
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-height, 53px);
  padding-block: 0;
  padding-inline: 32px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-md, 12px));
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  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 — the design's flat solid sky-blue CTA */
.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 color-mix(in srgb, var(--accent, var(--brand)) 55%, transparent);
    filter: brightness(0.96);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: none; }

/* Secondary — white with a neutral 2px grey outline, dark-navy label; fills navy on hover */
.btn-secondary {
  background-color: var(--btn-bg, var(--white));
  color: var(--btn-fg, var(--black3, #16222f));
  border: 2px solid var(--btn-accent, var(--light3, #959ba2));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--black3, #16222f));
    color: var(--white);
    border-color: var(--btn-accent, var(--black3, #16222f));
    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, #485c6c));
  padding-inline: 8px;
}
@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 — the filled accent disc (signature) */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  min-height: 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;
}
@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 — height + inline padding shrink only; radius/type unchanged */
.btn--sm { min-height: var(--btn-height-sm, 40px); padding-inline: 18px; }

/* ------------------------------------------------------------------ *
 * 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 (portfolio tile, gallery) */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 12px)); }
.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 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: 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 underline (grows from the left) */
.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%; }

/* ------------------------------------------------------------------ *
 * Cards / tiles
 * ------------------------------------------------------------------ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--light2, #c7d1d9);
  border-radius: var(--radius-md, var(--border-radius, 12px));
  overflow: hidden;
  box-shadow: 0 20px 50px 0 rgba(50, 50, 93, 0.1), 0 10px 30px 0 rgba(0, 0, 0, 0.1);
  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 28px 60px -10px rgba(50, 50, 93, 0.18), 0 16px 40px -8px rgba(0, 0, 0, 0.16);
  }
  .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 this padded wrapper */
.card-body { padding: var(--padding-vertical, 24px) var(--padding-horizontal, 24px); }

/* ------------------------------------------------------------------ *
 * Inputs (forms)
 * ------------------------------------------------------------------ */
.field {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--light2, #c7d1d9);
  border-radius: var(--radius-md, var(--border-radius, 12px));
  background: var(--white);
  color: var(--black3, #16222f);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #485c6c); }
.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:disabled { opacity: 0.5; cursor: not-allowed; }
.field:user-invalid { border-color: #e5484d; }

/* ------------------------------------------------------------------ *
 * Content icons (monochrome, recolorable) — .svc-icon
 * ------------------------------------------------------------------ */
.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 — .step-badge / .step-num (numbered process steps)
 * ------------------------------------------------------------------ */
.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;
}

/* ------------------------------------------------------------------ *
 * Missing-data placeholder — .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;
  }
}
