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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dfdeda;
  --black3: #080808;
  --light1: #f4f3f0;
  --brand: #e83d58;
  --black1: #777572;
  --light-graphite: #706e6a;
  --black2: #121212;
  --brand-2: #58c8c7;
  --bia-y: #FFFFFF;
  --light3: #c5c4c0;
  --whit: #ffffff;
  --icon-color: #e83d58;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 20px;
  --section-gap: 52px;
  --section-padding: 110px;

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

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

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

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

.text-14px-text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.1em;
}

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = full pill (radius 34px) filled with the diagonal brand gradient
      red #ba3a47 -> purple #a35c98 -> blue #637cad (left to right), white uppercase
      Rajdhani-bold 18px label, optional trailing arrow that nudges right on hover.
   2) Secondary CTA = the SAME pill geometry but quiet: cream #f4f3f0 fill, a 2px
      #c5c4c0 border and dark #080808 label - clearly lower priority than the gradient CTA.
   3) Feature icons sit in a SOLID brand-red (#e83d58) rounded-square badge (radius 16px,
      16px padding) with a white glyph inside; the process variant is a soft disc tinted red 10%.
   4) Radius scales hard by role - inputs 25px, portfolio/icon 16px, cards + panels 32px,
      buttons 34px pill - never one flat radius.
   5) Inputs are dark pill fields: #121212 fill, 1px white-10% border, 25px radius,
      16px/20px padding, grey #777572 placeholder - designed to sit on a dark rounded-32px
      panel with a 2px white-8% border and a soft two-layer drop shadow. */

/* ------------------------------------------------------------------ *
 * Semantic aliases derived from the design (accent + radius scale).
 * Every component reads THESE, never a raw --brand / --border-radius.
 * ------------------------------------------------------------------ */
:root {
  --accent: var(--brand);                 /* brand red #e83d58 - CTA / active / link colour */
  --accent-2: #637cad;                    /* blue end of the CTA gradient */
  --accent-contrast: var(--white);        /* readable text on the accent */
  --cta-gradient: linear-gradient(90deg, #ba3a47 0%, #a35c98 50%, #637cad 100%);
  --btn-shadow: none;                     /* the gradient CTA sits flat at rest */

  /* radius scale - derived per element role from the design */
  --radius-sm: 16px;                      /* portfolio tiles, icon badges */
  --radius-md: 25px;                      /* inputs */
  --radius-lg: 32px;                      /* cards, image tiles, form panels */
  --radius-pill: 999px;                   /* icon buttons, discs */

  /* the primary button's REAL radius (also shapes the shared Slider's arrow buttons) */
  --btn-radius: 34px;
  --btn-height: 55px;
  --btn-pad-inline: 32px;

  /* soft two-layer elevation, tinted with the design's ink, one light source (from above) */
  --shadow-sm: 0 1px 2px rgba(8, 8, 8, 0.06), 0 4px 10px -4px rgba(8, 8, 8, 0.10);
  --shadow-md: 0 2px 4px rgba(8, 8, 8, 0.06), 0 14px 28px -12px rgba(8, 8, 8, 0.16);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15), 0 13px 27px rgba(16, 16, 16, 0.15);
}

/* ================================================================== *
 * BUTTONS
 * ================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);      /* height fixed here - not re-derived from padding */
  padding-block: 0;                          /* vertical centering = min-height + align-items */
  padding-inline: var(--btn-pad-inline, 32px);
  border: 2px solid transparent;             /* secondary shows a 2px border - reserved at rest */
  border-radius: var(--btn-radius, var(--radius-pill, 34px));
  font-family: "Rajdhani", sans-serif;
  font-size: var(--btn-font-size, 18px);
  font-weight: var(--btn-weight, 700);
  text-transform: var(--btn-transform, uppercase);
  letter-spacing: var(--btn-tracking, 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, box-shadow 200ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary - the loud conversion CTA: the diagonal brand gradient, white label. */
.btn-primary {
  background: var(--btn-bg, var(--cta-gradient));
  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: 0 8px 20px -6px color-mix(in srgb, var(--accent) 55%, transparent);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary - quiet, lower-priority: cream fill, neutral border, dark label. */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #f4f3f0));
  color: var(--btn-fg, var(--black3, #080808));
  border-color: var(--btn-accent, var(--light3, #c5c4c0));
}
@media (hover: hover) {
  .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}
.btn-secondary:active { transform: translateY(0); box-shadow: none; }

/* Ghost / text - no chrome until hover, inherits the band's text colour. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, currentColor);
  border-color: transparent;
  padding-inline: 8px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent)) 12%, transparent);
  }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button - filled accent disc with a centred glyph (slider arrows, lightbox close). */
.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;
}
@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); outline-offset: 2px; }
.btn-icon > svg,
.btn-icon > img { width: 42%; height: 42%; display: block; }

/* The one deliberate smaller button - only height + inline padding shrink. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 22px; }

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

/* Nav link - underline grows from the centre, label brightens to white. */
.nav-link {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4px;
  transition: color 200ms ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 220ms ease;
}
@media (hover: hover) {
  .nav-link:hover { color: var(--white); }
  .nav-link:hover::after { width: 100%; }
}
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-link[aria-current="page"] { color: var(--white); }
.nav-link[aria-current="page"]::after { width: 100%; }

/* ================================================================== *
 * CARDS / TILES
 * ================================================================== */
.card {
  position: relative;            /* sits above any section decoration */
  z-index: 1;
  background: var(--white);      /* solid bg - never transparent */
  border-radius: var(--radius-lg, 32px);
  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: var(--shadow-md);
  }
  .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(--accent); outline-offset: 2px; }

/* .card is padless so flush media reaches its edges; text goes in this padded wrapper. */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* ================================================================== *
 * INPUTS (dark pill fields, as drawn on the hero form panel)
 * ================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 25px);
  background: var(--black2, #121212);
  color: var(--white);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #777572); }
.field:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field:user-invalid { border-color: #e5484d; }

/* ================================================================== *
 * HOVER VOCABULARY (reusable utilities)
 * ================================================================== */
/* 1. Powiekszenie - 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 inside a fixed frame - zoom the image, clip the box so neighbours don't shift */
.media { overflow: hidden; border-radius: var(--radius-lg, var(--border-radius)); }
.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 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: var(--shadow-md); }
}
.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); border-color: var(--accent); }
}

/* 4. Ruchoma strzalka - 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 podkreslenia - see .link-underline above */

/* ================================================================== *
 * CONTENT ICONS (monochrome, recolour 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 (numbered process steps)
 * ================================================================== */
.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-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;
  }
}
