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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dbdedf;
  --black3: #100f0d;
  --light1: #f2f4f5;
  --light3: #c0c2c3;
  --black1: #737373;
  --black2: #282827;
  --brand: #f2bb51;
  --dark-graphite: #252525;

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

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

/* 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-20px-titlr {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = a metallic MULTI-STOP GOLD gradient fill (light→deep gold) with DARK
      (#100f0d) uppercase bold text and a trailing chevron that slides right on hover — a flat
      4px-radius rectangle, never a pill.
   2) Secondary = a distinctly lower-priority OUTLINE: transparent/dark fill with a 2px GOLD
      border and light text (the "More projects" / "Więcej usług" button) — never a second
      gold-fill clone of the primary; it fills gold only on hover.
   3) Dark-luxury surfaces: cards/tiles are charcoal (--black3) on a near-black canvas, with
      WHITE headings and --light3 grey body text; gold is the ONE accent (60/30/10), never on copy.
   4) Tight, uniform 4px corner radius on EVERYTHING (buttons, cards, inputs, media tiles) —
      sharp, architectural, flat; the only round element is the gold icon disc.
   5) Interactive tiles are a gold ARROW DISC (gold circle + dark arrow) over a dark-gradient
      photo; ONE shared hover vocabulary — the card lifts, the inner image zooms and the arrow
      nudges from the same :hover. */

:root {
  /* Accent = the design's PRIMARY CTA colour (the warm gold), not a decorative token. */
  --accent: var(--brand);                 /* #f2bb51 gold */
  --accent-2: #c99239;                    /* deep-gold end of the CTA gradient */
  --accent-contrast: var(--black3);       /* dark text reads on gold */
  --accent-gradient: linear-gradient(
      168deg,
      #f3ca70 4%,
      var(--accent-2) 27%,
      var(--brand) 50%,
      #f8d78c 73%,
      var(--brand) 96%);

  /* The primary button's RESTING signature shadow — a warm gold glow, two layers, tinted not black. */
  --btn-shadow: 0 2px 4px rgba(201, 146, 57, 0.25), 0 8px 20px -8px rgba(201, 146, 57, 0.4);

  /* Radius — the design is flat/architectural: a tight 4px on every element. */
  --radius-sm: 4px;                        /* inputs / small chips */
  --radius-md: 4px;                        /* cards / tiles */
  --radius-lg: 4px;                        /* large containers */
  --radius-pill: 999px;                    /* the gold icon disc only */
  --btn-radius: 4px;                       /* the primary button's real radius (also the slider chrome) */

  --btn-height: 55px;                      /* ONE button height site-wide (from the design's CTA) */
  --btn-height-sm: 44px;

  /* Elevation ladder (for light surfaces / raised chrome). */
  --shadow-sm: 0 1px 2px rgba(16, 15, 13, 0.06), 0 6px 16px -10px rgba(16, 15, 13, 0.12);
  --shadow-md: 0 2px 4px rgba(16, 15, 13, 0.08), 0 14px 28px -12px rgba(16, 15, 13, 0.22);
}

/* ============================================================================
   BUTTONS — one invariant shape (height/radius/padding/type), colour varies per band
   ========================================================================== */
.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: 2px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 4px));
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.36px;
  text-transform: uppercase;
  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(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — the metallic gold gradient CTA with dark text. */
.btn-primary {
  background: var(--btn-bg, var(--accent-gradient));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(201, 146, 57, 0.28), 0 14px 28px -8px rgba(201, 146, 57, 0.5);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary — the lower-priority OUTLINE (2px gold border, transparent fill, light text). */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--white));
  border-color: var(--btn-accent, var(--brand));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--brand));
    color: var(--btn-hover-fg, var(--black3));
  }
}
.btn-secondary:active { transform: scale(0.99); }

/* Ghost / text — no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--brand));
  border-color: transparent;
  padding-inline: 12px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--brand)) 12%, transparent);
  }
}
.btn-ghost:active { transform: scale(0.99); }

/* Icon button — the gold arrow disc (circle, gold fill, dark glyph). */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border: none;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-bg, var(--accent-gradient));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 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, never radius/type. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; }

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

/* image inside a fixed, clipped frame */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 4px)); }
.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 2px 4px rgba(16, 15, 13, 0.08), 0 14px 28px -12px rgba(16, 15, 13, 0.28);
  }
}
.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(--black3)); }
}
.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: 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%; }

/* ============================================================================
   CONTENT ICONS — monochrome, recolorable via --icon-color
   ========================================================================== */
.svc-icon {
  display: inline-block;
  width: 48px; height: 48px;
  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-sm, 4px);
  background: var(--accent-gradient);
  color: var(--accent-contrast, var(--black3));
}
.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
   ========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--black3, #100f0d);
  border-radius: var(--radius-md, var(--border-radius, 4px));
  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 rgba(0, 0, 0, 0.24), 0 16px 30px -12px rgba(0, 0, 0, 0.5);
  }
  .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, 24px) var(--padding-horizontal, 24px); }

/* ============================================================================
   INPUTS
   ========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #c0c2c3);
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  background: var(--white, #ffffff);
  color: var(--black3, #100f0d);
  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; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

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