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

:root {
  /* Colors */
  --black2: #252528;
  --white: #ffffff;
  --black3: #131317;
  --brand: #d95705;
  --light3: #bac2c7;
  --black1: #636467;
  --light2: #dbdddf;
  --light1: #eef1f3;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 28px;
  --padding-vertical: 28px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 120px;

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

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

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

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

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

.text-24px-barlow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 26px;
}

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a SOLID orange (--brand #d95705) FULL PILL (radius 300px), 55px tall,
      carrying a trailing WHITE circular disc that holds an orange arrow at its right end.
   2) Secondary is a neutral WHITE pill with a thin 2px light-grey (--light3 #bac2c7) outline and
      dark text — no fill, reads clearly as lower priority than the orange CTA.
   3) Form inputs are fully-rounded PILL fields (1px hairline --light2 #dbdddf border, grey --black1
      placeholder, white fill); the multi-line textarea is the only softened-rect (radius-lg).
   4) Feature/why-us icon = a monochrome ORANGE glyph centred in a circular disc ringed by a THICK
      light-grey (--light3) border — the signature "coin" badge; service tiles instead self-mark
      with a small brand-orange diagonal ↗ arrow top-right.
   5) Two card families: service/feature tiles are FLAT light-grey (--light1) fill, NO shadow,
      16px radius; floating white cards use a soft diffuse drop-shadow and no border. Accent shows
      as a short orange bottom-border underline on labels. */

:root {
  /* Accent = the design's PRIMARY CTA colour (the orange pill IS --brand here) */
  --accent: var(--brand);
  --accent-2: var(--brand);          /* solid CTA — no gradient, so END = accent */
  --accent-contrast: var(--white);   /* readable label on the orange fill */
  --btn-shadow: none;                /* the design's primary CTA is a flat pill (no resting shadow) */

  /* Radius scale — derived per element from the design (inputs pill, tiles 16px, big cards 32px) */
  --radius-sm: 8px;                  /* small chips */
  --radius-md: 16px;                 /* service/feature tiles, project cards */
  --radius-lg: 32px;                 /* large containers, hero form card, textarea */
  --radius-pill: 999px;              /* buttons, single-line inputs, icon buttons */

  /* Button geometry — read off the CTA close-up: pill, 16px/32px pad, ~55px tall, 18px/700 label */
  --btn-height: 55px;
  --btn-height-sm: 44px;
}

/* ============================================================= BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);
  padding-block: 0;
  padding-inline: 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill, var(--border-radius, 8px));
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  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 orange pill (per-band recolour via --btn-bg / --btn-fg) */
.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); }

/* Primary trailing arrow lives inside a white disc (the design's signature CTA icon) */
.btn-primary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill, 999px);
  background: var(--accent-contrast, var(--white));
  color: var(--accent, var(--brand));
  transition: transform 200ms ease;
}
.btn-primary .arrow > svg,
.btn-primary .arrow > img { width: 14px; height: 14px; display: block; }

/* Secondary — neutral white pill, thin light-grey outline, dark label (lower priority) */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--black2, #252528));
  border-color: var(--btn-accent, var(--light3, #bac2c7));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-bg-hover, var(--light1, #eef1f3));
    border-color: var(--btn-accent, var(--black2, #252528));
    color: var(--btn-fg, var(--black2, #252528));
    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, currentColor));
  border-color: transparent;
  padding-inline: 12px;
}
.btn-ghost:hover {
  background-color: color-mix(in srgb, var(--btn-accent, var(--brand)) 10%, transparent);
}

/* Icon button — square, fully-rounded, orange fill */
.btn-icon {
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  border: none;
  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)));
  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; }

/* Compact size — only height + inline padding shrink */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 22px; }

/* ============================================================== HOVERS ===== */

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

.media { overflow: hidden; border-radius: var(--radius-md, 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 + 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 */
.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%; }

/* ================================================= CONTENT ICONS (mask) ===== */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-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 ===== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius));
  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(0, 0, 0, 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; }

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

/* ============================================================== INPUTS ===== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  min-height: 40px;
  border: 1px solid var(--light2, #dbdddf);
  border-radius: var(--radius-pill, 999px);   /* single-line inputs are full pills */
  background: var(--white);
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black3, #131317);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
textarea.field {
  min-height: 80px;
  border-radius: var(--radius-lg, 24px);       /* multi-line is the softened rect */
  resize: vertical;
}
.field::placeholder { color: var(--black1, #636467); }
.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 GUARD ========= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
