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

:root {
  /* Colors */
  --brand: #b18c59;
  --white: #ffffff;
  --light2: #deddd8;
  --black2: #171716;
  --light3: #c3c1bb;
  --black3: #111211;
  --light1: #f3f2ef;
  --black1: #333331;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --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-14px-text {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.04em;
}

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

.text-16px-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-80px-title {
  font-family: "Manrope", sans-serif;
  font-size: 70px;
  font-weight: 600;
  line-height: 75px;
  letter-spacing: -0.02em;
}

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = a SOLID gold (#b18c59 / --brand) HARD-cornered rectangle, ~58px tall,
      with a thin monoline arrow trailing at the far right (no pill, no rounding, no fill-shadow).
   2) Corners are HARD everywhere — radius ~= 0-2px (the Figma --border-radius token is literally
      0px): buttons, cards, form fields and the hero form panel all use square, architectural edges.
   3) Inputs are UNDERLINE-ONLY — a single bottom hairline (--light3), transparent fill, no box,
      with a small uppercase tracked label sitting ABOVE the field (as in the hero wycena form).
   4) Cards are FLAT sharp tiles with a thin 1px --light2 hairline border and NO resting shadow;
      the accent variant is a full SOLID gold fill (the alternating process step tiles). Lift +
      shadow appear only on hover.
   5) Iconography is thin gold MONOLINE line-art — button arrows, the eyebrow glyph above headings,
      the why-us / process step icons — single-weight strokes in --brand, never filled or in a disc. */

/* ------------------------------------------------------------------ *
 * Semantic aliases derived from the design. Components use THESE,
 * never a raw --brand / --border-radius. tokens.css supplies the
 * raw palette / spacing / type these point at.
 * ------------------------------------------------------------------ */
:root {
  --accent: var(--brand);            /* the design's PRIMARY CTA colour = the gold #b18c59 */
  --accent-2: var(--accent);         /* CTA is SOLID (no gradient) -> darker end == accent */
  --accent-contrast: var(--white);   /* readable label colour on the gold accent */
  --btn-shadow: none;                /* the CTA is drawn FLAT — no resting shadow */

  /* Radius scale — this brand is HARD-cornered, so the scale is near-zero by design. */
  --radius-sm: 2px;                  /* inputs / small chips — a whisper */
  --radius-md: 2px;                  /* cards / tiles — sharp, like the process step tiles */
  --radius-lg: 4px;                  /* large containers / the hero form panel */
  --radius-pill: 999px;              /* only where a fully-round shape is genuinely wanted */
  --btn-radius: 0px;                 /* the PRIMARY button is a hard rectangle — also shapes
                                        the shared Slider's prev/next arrow buttons */

  --btn-height: 58px;                /* ONE button height site-wide (the design's CTA height) */
  --btn-height-sm: 44px;             /* the single deliberate smaller size */
}

/* ================================================================== *
 * BUTTONS  (the exact classes <Button> outputs: .btn + variant)
 * ================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 58px); /* height is fixed here — never re-derived from padding */
  padding-block: 0;
  padding-inline: 32px;                /* the design's 32px horizontal button padding */
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 0px));
  font-family: "Manrope", sans-serif;  /* the design's button type, pinned for consistency */
  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__label { display: inline-flex; align-items: center; }
.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 SOLID gold CTA ("Bezpłatna wycena"), flat at rest. A section may recolour it on
   a coloured band via --btn-bg / --btn-fg — read HERE so the override needs no re-implementation. */
.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 10px 22px -8px color-mix(in srgb, var(--accent, var(--brand)) 55%, transparent);
    filter: brightness(0.95);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: brightness(0.92); }

/* Secondary — a distinct, lower-priority NEUTRAL treatment: dark hairline outline + dark label,
   fills dark on hover. Never a second gold clone. --btn-accent / --btn-fg recolour it per band. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-accent, var(--black2, #171716));
  border-color: var(--btn-accent, var(--black2, #171716));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--black2, #171716));
    color: var(--btn-fg, var(--white));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — no chrome until hover (e.g. "Więcej realizacji" on the dark projects band). */
.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)) 12%, transparent); }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — a SHARP gold square (matches the hard-cornered brand, not a circle); used for
   slider arrows / lightbox close. <Button variant="icon"> slots a raw <svg> centred + sized. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, 2px);
  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.06); filter: brightness(0.95); } }
.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 deliberate smaller button — only height + inline padding shrink. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; font-size: 16px; }

/* ================================================================== *
 * HOVER VOCABULARY  (reusable utilities — combine per component)
 * ================================================================== */

/* 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 zoom inside a fixed, clipped frame (portfolio tile, gallery, avatar) */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 2px)); }
.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) — the default for cards, tiles, CTAs */
.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 (only the arrow moves) */
.with-arrow { display: inline-flex; align-items: center; gap: 10px; }
.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 (nav + inline links) */
.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
 * ================================================================== */
.card {
  position: relative;                /* sits above section decoration */
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--light2, #deddd8);   /* the design's thin hairline border */
  border-radius: var(--radius-md, var(--border-radius, 2px));
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease, border-color 200ms ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.22); border-color: var(--light3, #c3c1bb); }
  .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 is PADLESS so flush media reaches its edges; text goes in this padded inner wrapper. */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* Accent tile — the full SOLID gold process step (white label + icon on gold). */
.card-accent {
  background: var(--accent, var(--brand));
  border-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--white));
}
.card-accent .svc-icon { --icon-color: var(--accent-contrast, var(--white)); }

/* ================================================================== *
 * INPUTS — UNDERLINE-ONLY (the design signature: no box, label above)
 * ================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 0;                   /* no horizontal box padding — it's underline-only */
  border: none;
  border-bottom: 1px solid var(--light3, #c3c1bb);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c3c1bb); }
.field:hover { border-bottom-color: var(--brand); }
.field:focus {
  outline: none;
  border-bottom-color: var(--brand);
  box-shadow: 0 1px 0 0 var(--brand);   /* thickens the underline on focus without a box */
}
.field:user-invalid { border-bottom-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* The small uppercase tracked label that floats ABOVE each field (as drawn in the wycena form). */
.field-label {
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light3, #c3c1bb);
}

/* ================================================================== *
 * CONTENT ICONS — monochrome mask, recolourable 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;
}

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