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

:root {
  /* Colors */
  --light1: #f4f6f6;
  --brand: #fba125;
  --black1: #45494d;
  --white: #ffffff;
  --black3: #0f1011;
  --black2: #292b2d;
  --light2: #e8ecee;
  --light3: #94a3a8;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --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-16px-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Hard 0px corners on EVERY surface — buttons, cards, inputs and the floating
      lead form are sharp rectangles (Figma --border-radius:0). The lone round
      element is the orange rating-badge disc.
   2) Image frames are NOTCHED — service tiles and project photos carry a chamfered
      (45° angle-cut) top-right corner. Reusable as `.clip-corner` on any frame.
   3) Primary CTA = solid brand-orange (#fba125) sharp rectangle, UPPERCASE bold
      Inter label in dark graphite (#292b2d, NOT white), ~58px tall.
   4) Secondary CTA = transparent with a 1px brand-orange OUTLINE (dark label on
      light bands, white on dark) — distinctly lower priority, never a filled
      orange clone of the primary.
   5) Orange is the sole accent and appears as OVERSIZED bold numerals (process
      01–07) and small SQUARE bullet markers; all other text stays graphite/black
      on white/light or near-black bands. */

:root {
  /* Accent (CTA colour) — the design's primary "BEZPŁATNA WYCENA" button fills with
     --brand and labels it in dark graphite, so its contrast is --black2 (NOT white). */
  --accent: var(--brand);
  --accent-contrast: var(--black2);

  /* Radius scale — the design is hard-edged: everything square. Only badges go round. */
  --radius-sm: 0px;     /* inputs */
  --radius-md: 0px;     /* cards / tiles */
  --radius-lg: 0px;     /* large containers */
  --radius-pill: 999px; /* accent badge — the only round shape */

  /* The chamfer depth used by every notched image frame (signature #2). */
  --corner-notch: 28px;

  /* ONE button height for the whole site — seeded from the design's ~58px primary CTA. */
  --btn-height: 58px;
  /* ONE button shape — square (the brand is hard-edged; signature #1). The shared
     <Button> component defaults its radius to --radius-pill, so pin it square here. */
  --btn-radius: var(--radius-sm, 0px);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 58px);
  padding-block: 0;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  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;
}

/* Compact size — the one deliberate smaller CTA (e.g. the mobile bottom action bar,
   where a long label would otherwise overflow). Shorter + tighter, same square shape. */
.btn--sm {
  min-height: 46px;
  padding-inline: 16px;
  gap: 8px;
  font-size: 15px;
}

/* Primary — solid brand fill, DARK graphite label; hover lifts + darkens + casts shadow. */
.btn-primary {
  background-color: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--black2)));
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(251, 161, 37, 0.55);
    filter: brightness(0.95);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* Secondary — transparent with a brand outline; hover fills with brand + dark label. */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, currentColor);
  border-color: var(--btn-accent, var(--accent, var(--brand)));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--accent, var(--brand)));
    color: var(--accent-contrast, var(--black2));
    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(--black2, currentColor));
  padding-inline: 10px;
}
@media (hover: hover) {
  .btn-ghost:hover { background-color: color-mix(in srgb, var(--brand) 12%, transparent); }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — square (slider arrows etc.), carrying a centred solid triangle glyph. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--radius-md, var(--border-radius, 0px));
  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(--black2)));
  border: none; cursor: pointer;
  /* Collapse any text label so ONLY the ::after triangle renders — no double arrow. */
  font-size: 0;
  transition: transform 200ms ease, background-color 200ms ease;
}
/* Centred solid triangle (the slider-arrow mark, in currentColor). Points left by
   default; flip with transform: scaleX(-1) for the "next" direction. */
.btn-icon::after {
  content: "";
  flex: none;
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 11px solid currentColor;
}
@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; }

/* ── Hover vocabulary (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 */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 0px)); }
.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); } }

/* Signature #2 — chamfered (45° angle-cut) top-right corner on an image frame.
   Add alongside `.media` on service tiles / project photos. The notch depth is the
   shared --corner-notch token so every frame cuts identically. */
.clip-corner {
  clip-path: polygon(
    0 0,
    calc(100% - var(--corner-notch, 28px)) 0,
    100% var(--corner-notch, 28px),
    100% 100%,
    0 100%
  );
}

/* 2. Uniesienie — lift (translateY + 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 change */
.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(--black2));
  }
}
.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, recolourable) ─────────────────────────────── */
.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;
}

/* ── Accent numeral (signature #5) — oversized bold orange "01"–"07" ───────── */
.num-accent {
  font-family: "Zalando Sans Expanded", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent, var(--brand));
}

/* ── Accent badge — the lone fully-round element (orange disc + white numeral) ─ */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-pill, 999px);
  background-color: var(--accent, var(--brand));
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1;
}

/* ── Cards / tiles ────────────────────────────────────────────────────────── */
/* Flat at rest (faint hairline, NO shadow, square corners — matches the process
   grid). Lift + shadow + brand border appear only on hover. */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--light2, #e8ecee);
  border-radius: var(--radius-md, var(--border-radius, 0px));
  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(--brand);
  }
  .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 wrapper. */
.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* Feature/bullet list (signature #5) — small SQUARE orange markers, never round. */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feature-list > li { position: relative; padding-left: 18px; }
.feature-list > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--accent, var(--brand));
}

/* ── Inputs (forms) ───────────────────────────────────────────────────────── */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--light3, #94a3a8);
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  background: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black2, #292b2d);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #94a3a8); }
.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 dashboard data → placeholder ─────────────────────────────────── */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

/* ── Motion convention ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
