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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #d6dbe3;
  --brand-2: #5e9be0;
  --black3: #0e2a4f;
  --brand: #4cc85e;
  --light1: #ebeef3;
  --light3: #a0a7b2;
  --black1: #595f68;
  --icon-color: #4cc85e;
  --black2: #1e334e;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 28px;
  --padding-vertical: 28px;
  --section-padding: 110px;
  --cards-gap: 16px;
  --section-gap: 54px;

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

.text-18-px-button {
  font-family: "Alexandria", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21.4px;
  letter-spacing: 0.01em;
}

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

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

.text-28px-title {
  font-family: "Alexandria", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.04em;
}

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

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

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

.text-18px-text {
  font-family: "Alexandria", 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 GREEN (#4cc85e / --brand) rectangle at a SHARP 6px radius (never a pill),
      white UPPERCASE Alexandria label, with a distinctive BLUE (#5e9be0 / --brand-2) angled tail
      wedged onto the trailing edge that carries a white arrow / phone glyph — the two-tone brand mark.
   2) The trailing glyph is a right-pointing arrow (→) that slides right on hover; it rides over the
      blue diagonal wedge (never a diagonal nudge — the drawn arrow points straight right).
   3) Secondary is the SAME green but OUTLINE-only (1px solid --brand, transparent fill) — a visibly
      lower-priority treatment than the filled CTA; it fills green on hover.
   4) Cards/tiles are 6px-radius, edge-to-edge photos with a bottom navy (#0e2a4f) gradient scrim and
      NO resting shadow; they LIFT with a soft navy-tinted two-layer shadow on hover while the inner
      image zooms and the inner arrow nudges from the same :hover.
   5) Inputs are boxed with a thin 1px light-grey (#d6dbe3 / --light2) border at a small 4px radius,
      navy label floating above; the border turns green (--brand) on hover/focus. */

:root {
  /* Accent — the design's primary CTA is GREEN, so accent = --brand. */
  --accent: var(--brand);               /* #4cc85e — CTA fill / active / links */
  --accent-2: var(--brand-2);           /* #5e9be0 — the signature BLUE tail wedge on the CTA (not a gradient) */
  --accent-contrast: var(--white);      /* readable text on the green accent */
  --btn-shadow: none;                   /* the CTA is drawn flat — no resting shadow */

  /* Radius scale — this brand is SHARP/low-radius: inputs 4px, cards & buttons 6px. */
  --radius-sm: 4px;                     /* inputs / small chips (hero form fields) */
  --radius-md: 6px;                     /* cards / tiles / buttons (the --border-radius token) */
  --radius-lg: 12px;                    /* large containers / hero cards */
  --radius-pill: 999px;                 /* fully-rounded (reserved; this brand rarely uses it) */
  --btn-radius: var(--radius-md);       /* the primary button's REAL radius (6px) — also shapes slider arrows */

  /* Button geometry — from the Figma close-up (radius 6px · padding 16px 24px · ~53px tall · weight 400 uppercase). */
  --btn-height: 53px;
  --btn-pad-inline: 24px;
  --btn-weight: 400;
  --btn-transform: uppercase;
  --btn-tracking: 0.01em;
}

/* ---------------------------------------------------------------------------
   Buttons — the shared <Button> component outputs these exact classes.
   One invariant shape site-wide; only COLOUR varies per band (--btn-bg / --btn-fg / --btn-accent).
--------------------------------------------------------------------------- */
.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: var(--btn-pad-inline, 24px);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-md, var(--border-radius, 6px)));
  font: inherit;
  font-weight: var(--btn-weight, 400);
  text-transform: var(--btn-transform, uppercase);
  letter-spacing: var(--btn-tracking, 0.01em);
  font-variant-caps: var(--btn-caps, normal);
  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 — solid green fill + the signature BLUE diagonal tail behind the trailing glyph. */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
}
.btn-primary.with-arrow {
  justify-content: space-between;
  gap: 16px;
  padding-right: 18px;
}
/* the blue angled tail — a forward-slash wedge pinned to the right edge, clipped by the button radius */
.btn-primary.with-arrow::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 54px;
  background: var(--accent-2, var(--brand-2));
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}
.btn-primary .arrow {
  position: relative;      /* ride ABOVE the blue wedge */
  z-index: 1;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary .arrow > svg,
.btn-primary .arrow > img { display: block; width: 20px; height: 20px; }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); filter: brightness(0.95); }
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.92); }

/* Secondary — outline-only green (lower priority than the filled CTA); fills on hover. */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-accent, var(--accent, var(--brand)));
  border-color: var(--btn-accent, var(--accent, var(--brand)));
  padding-inline: 32px;    /* the secondary close-up is a touch wider (16px 32px) */
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--accent, var(--brand)));
    color: var(--btn-fg, var(--white));
  }
}
.btn-secondary:active { filter: brightness(0.95); }

/* Ghost / text — no chrome until hover; navy label. */
.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(--accent, var(--brand))) 10%, transparent); }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — sharp 6px green square (matches the brand; slider arrows reuse --btn-radius). */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, var(--radius-md, 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)));
  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); } }
.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 — height + inline padding only; radius/typography unchanged. */
.btn--sm { min-height: var(--btn-height-sm, 40px); padding-inline: 18px; }

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

/* ---------------------------------------------------------------------------
   Cards / tiles — 6px, padless so photos reach the edge; lift + navy-tinted shadow on hover.
--------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 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, #0e2a4f) 8%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #0e2a4f) 22%, transparent);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent, var(--brand)); outline-offset: 2px; }

/* padded inner wrapper for text cards — content never flush to the edge */
.card-body { padding: var(--padding-vertical, 28px) var(--padding-horizontal, 28px); }

/* ---------------------------------------------------------------------------
   Inputs — boxed, thin light-grey border, 4px radius, border turns green on hover/focus.
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--light2, #d6dbe3);
  border-radius: var(--radius-sm, 4px);
  background: var(--white);
  color: var(--black3, #0e2a4f);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #a0a7b2); }
.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; }

/* ---------------------------------------------------------------------------
   Hover utilities — the standard vocabulary (combine them).
--------------------------------------------------------------------------- */
/* 1. powiększenie — scale */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* image inside a fixed frame — zoom the image, not the box */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 6px)); }
.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 + navy-tinted two-layer 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(--black3, #0e2a4f) 8%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #0e2a4f) 22%, transparent);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* 3. zmiana koloru — fill / tint 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, var(--brand)); border-color: var(--accent, var(--brand)); }
}

/* 4. ruchoma strzałka — moving arrow (points right → slides right) */
.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: var(--arrow-nudge, 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 (see .link-underline above) */

/* ---------------------------------------------------------------------------
   Content icons (monochrome, recolorable 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 — green 6px square (matches the process steps' "1." badge)
--------------------------------------------------------------------------- */
.step-badge {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-md, 6px);
  background: 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 {
  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;
  }
}
