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

:root {
  /* Colors */
  --bright-gray: #2B2B2B;
  --brand2: #00aeef;
  --white: #ffffff;
  --brand: #0166b3;
  --white: #FFFFFF;
  --white-text: #FFFCFC;
  --light3: #c0c2c3;
  --black3: #1c1b1a;
  --black1: #737373;
  --light1: #f2f4f5;
  --light2: #dbdedf;
  --black2: #282827;
  --dark-graphite: #252525;

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

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

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

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a SOLID deep-blue (#0166b3 = --brand) rounded RECTANGLE (16px radius, NOT a pill),
      white Poppins-SemiBold 18px label, FLAT — no resting shadow. Some CTAs carry a trailing arrow.
   2) Secondary button is a distinct LOW-priority neutral: light #f2f4f5 (--light1) fill + dark text
      (--black2) + a thin cyan (#00aeef = --brand2) hairline — never a second solid-blue clone.
   3) Cards/tiles are FLAT white, ONE 16px radius on all four corners, NO outer shadow at rest —
      separated by pure surface contrast (white on light-grey, dark on near-black). Lift+soft shadow only on hover.
   4) Cyan (#00aeef = --brand2) is the small-mark accent: active nav link, inline "Läs mer →" links
      (underline + moving arrow), circular arrow toggles, outline chrome — never a large flat fill.
   5) Inputs are OUTLINE-only: 1px light-grey (#c0c2c3 = --light3) border, 10px radius, no heavy fill,
      label/placeholder sits inside the field. */

:root {
  /* Accent — the design's PRIMARY CTA colour is the deep blue --brand (#0166b3), NOT the cyan --brand2. */
  --accent: var(--brand);            /* CTA fills / active states */
  --accent-2: var(--brand);          /* solid CTA (no gradient) → keep = --accent */
  --accent-contrast: var(--white);   /* readable text on the accent */
  --accent-soft: var(--brand2);      /* cyan #00aeef — small-mark accent (links, toggles, outline chrome) */
  --ink: var(--black3);              /* #1c1b1a — shadow / text ink base */

  /* Primary button resting shadow — the design draws its CTAs FLAT. */
  --btn-shadow: none;

  /* Radius scale — the design rounds by role, not one flat token. */
  --radius-sm: 10px;                 /* inputs (hero form fields are rounded-10px) */
  --radius-md: 16px;                 /* cards / tiles / buttons (--border-radius token) */
  --radius-lg: 24px;                 /* large containers / hero cards */
  --radius-pill: 999px;              /* fully-rounded chrome */
  --btn-radius: var(--radius-md);    /* PRIMARY button radius = 16px — also shapes the shared slider arrows */

  /* One button height site-wide — the design's CTA is ~55px. */
  --btn-height: 55px;

  /* Neutral separator + shadow ink. */
  --border-width: 1px;
  --border: var(--light2);           /* #dbdedf — quiet hairline on light surfaces */
}

/* ============================================================
   BUTTONS — the shared <Button> outputs these exact classes.
   ONE invariant shape; only COLOUR varies per band (--btn-bg / --btn-fg / --btn-accent).
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  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-md, 16px));
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  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 deep-blue fill, white label, flat at rest. */
.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.92); }

/* Secondary — light neutral fill, dark text, thin cyan hairline. Lower priority than the CTA. */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #f2f4f5));
  color: var(--btn-fg, var(--black2, #282827));
  border-color: var(--btn-accent, var(--accent-soft, var(--brand2)));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-bg-hover, var(--light2, #dbdedf));
    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(--black2, 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 — filled blue chip with a centred glyph (matches the brand's rounded-rect chrome). */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, var(--radius-md, 16px));
  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.94); } }
.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 — only height + inline padding shrink. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; 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); }

.media { overflow: hidden; border-radius: var(--radius-md, 16px); }
.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 + two-layer tinted 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 2px 4px color-mix(in srgb, var(--ink) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--ink) 20%, transparent);
  }
}
.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(--accent-soft, var(--brand2)); border-color: var(--accent-soft, var(--brand2)); }
}

/* 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 (cyan small-mark accent) */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent-soft, var(--brand2)), var(--accent-soft, var(--brand2)));
  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-soft, var(--brand2)); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent-soft, var(--brand2)); }
.link-underline-center { background-position: 50% 100%; }

/* ============================================================
   CONTENT ICONS (monochrome, recolorable) — steer via --icon-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;
}

/* ============================================================
   STEP NUMBER BADGE
   ============================================================ */
.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, ONE 16px radius, no resting shadow.
   ============================================================ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, 16px);
  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(--ink) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--ink) 20%, 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(--brand); outline-offset: 2px; }

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

/* ============================================================
   INPUTS — outline-only, 1px light-grey, 10px radius.
   ============================================================ */
.field {
  width: 100%;
  padding: 14px 24px;
  border: var(--border-width, 1px) solid var(--light3, #c0c2c3);
  border-radius: var(--radius-sm, 10px);
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c0c2c3); }
.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;
}

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