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

:root {
  /* Colors */
  --light1: #f0f3f5;
  --brand: #0e517c;
  --black1: #54565c;
  --black3: #0e1016;
  --brand-cta: #deb350;
  --white: #ffffff;
  --black2: #191a20;
  --light3: #b7bcc2;
  --light2: #d2d9df;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 25px;
  --padding-vertical: 25px;
  --cards-gap: 16px;
  --section-gap: 50px;
  --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: "Unitext", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

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

.text-18px-text {
  font-family: "Unitext", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20.6px;
}

.text-48px-title {
  font-family: "Unitext", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
}

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

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

.text-18-px-button {
  font-family: "Unitext", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 100px;
}

.text-40px-title {
  font-family: "Unitext", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.text-28px-title {
  font-family: "Unitext", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 27.4px;
}

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a HARD-EDGED gold (--brand-cta #deb350) rectangle at 0px radius,
      with a near-black label (--black3) and a solid black trailing arrow that slides
      right on hover — gold is reserved for the ONE conversion action only, never a border/shadow.
   2) Architectural ZERO-RADIUS system — buttons, cards and inputs are all sharp
      rectangles (radius 0); the ONLY round shapes on the whole site are icon discs.
   3) Cards are FLAT white with NO resting shadow (they sit on the light-grey band),
      several carrying a decorative diagonal notch/flag cut on one corner.
   4) Content / feature icons sit inside a SOLID brand-blue (#0e517c) circular disc
      with a white glyph — the recurring icon-badge motif.
   5) Secondary buttons are NEUTRAL (light --light1 fill, dark --black3 text) with a
      thin brand-blue outline — clearly lower-priority than the gold CTA, never a gold clone. */

/* ---------------------------------------------------------------------------
   Semantic aliases — derived from the DESIGN, not from token names.
   The primary CTA in every screenshot uses the GOLD --brand-cta, NOT --brand
   (which is the structural blue). So --accent = --brand-cta, and its readable
   text is the near-black --black3 (the CTA label is dark, not white).
   The design is deliberately squared-off, so the radius scale collapses to 0
   for every rectangular element; only icon discs are round (--radius-pill).
--------------------------------------------------------------------------- */
:root {
  --accent: var(--brand-cta);          /* the design's PRIMARY CTA colour (gold) */
  --accent-2: var(--brand-cta);        /* solid CTA (no gradient) → same as --accent */
  --accent-contrast: var(--black3);    /* dark label reads on the gold CTA */

  --btn-shadow: none;                  /* the CTA is drawn FLAT — no resting shadow */
  --btn-radius: 0px;                   /* primary CTA close-up: hard 0px corners */
  --btn-height: 56px;                  /* primary CTA ~55–58px in the design */

  --radius-sm: 0px;                    /* inputs — sharp */
  --radius-md: 0px;                    /* cards / tiles — sharp */
  --radius-lg: 0px;                    /* large containers — sharp */
  --radius-pill: 999px;               /* icon discs / icon buttons — the only round shape */
}

/* ---------------------------------------------------------------------------
   Buttons — ONE invariant shape across the site (height/radius/padding/type
   fixed here); only COLOUR varies per band via --btn-bg / --btn-fg / --btn-accent.
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: var(--btn-height, 56px);
  padding-block: 0;
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-sm, 0px));
  font-family: "Unitext", sans-serif;
  font-size: 18px;
  font-weight: 700;
  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, 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 flat gold conversion CTA (dark label + trailing arrow) */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand-cta)));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    filter: brightness(0.93);   /* deepen the gold — stays flat, no shadow */
  }
}
.btn-primary:active { filter: brightness(0.88); }

/* Secondary — neutral, lower-priority: light fill + dark text + thin blue outline */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #f0f3f5));
  color: var(--btn-fg, var(--black3, #0e1016));
  border-color: var(--btn-accent, var(--brand, #0e517c));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--brand, #0e517c));
    color: var(--btn-fg, var(--white));
  }
}
.btn-secondary:active { transform: translateY(1px); }

/* 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(--brand)) 10%, transparent);
    color: var(--btn-fg, var(--brand));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — the site's signature brand-blue disc with a centred white glyph */
.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(--brand, #0e517c));
  color: var(--btn-fg, 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(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; }

/* The ONE deliberately smaller button — only height + inline padding shrink */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 18px; font-size: 16px; }

/* ---------------------------------------------------------------------------
   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-a-fixed-frame zoom (portfolio tile / gallery) */
.media { overflow: hidden; border-radius: var(--radius-md, 0px); }
.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). Cards rest FLAT; the shadow is the hover cue. */
.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(14, 16, 22, 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-cta)); color: var(--accent-contrast, var(--black3)); }
}
.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 gold CTA's trailing arrow) */
.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); }
}

/* 5. Dodanie podkreślenia — animated underline (brand-blue, grows from 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 — flat white, sharp corners, NO resting shadow
--------------------------------------------------------------------------- */
.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: 0 16px 32px -12px rgba(14, 16, 22, 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 lives in a padded inner wrapper (design uses the 25px gutter) */
.card-body { padding: var(--padding-vertical, 25px) var(--padding-horizontal, 25px); }

/* ---------------------------------------------------------------------------
   Inputs — sharp light-bordered box (0 radius), blue focus
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #b7bcc2);
  border-radius: var(--radius-sm, 0px);
  background: var(--white);
  font-family: "Unitext", sans-serif;
  font-size: 16px;
  color: var(--black3, #0e1016);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #b7bcc2); }
.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; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------------------------------------------------
   Content icons (monochrome, recolourable) — painted via CSS mask
--------------------------------------------------------------------------- */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-color: var(--brand, #0e517c);   /* brand-blue on light cards; set white on dark bands */
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}

/* Icon disc — the signature filled brand-blue circle wrapping a white icon */
.icon-disc {
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  border-radius: var(--radius-pill, 999px);
  background-color: var(--brand, #0e517c);
  color: var(--white);
}
.icon-disc .svc-icon { background-color: var(--white); }

/* ---------------------------------------------------------------------------
   Step number badge (process / etapy)
--------------------------------------------------------------------------- */
.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;
}

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