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

:root {
  /* Colors */
  --light1: #f5f4f2;
  --brand: #ff5001;
  --white: #ffffff;
  --black1: #615e5e;
  --light2: #dfdcdb;
  --light3: #c3c1c0;
  --black2: #1d1e20;
  --black3: #111214;
  --dark-graphite: #252525;

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

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

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is an orange OUTLINE, not a fill — transparent/light fill, a 2px solid
      orange (var(--brand) #ff5001) keyline and a near-black (var(--black3)) bold label,
      with tight 4px corners ("Voir les services"). The accent lives on the border, not as a flood.
   2) Everything is SHARP — ONE tight 4px radius across the whole system (buttons, inputs,
      cards, project tiles all share 4px); only icon buttons / chevrons are round. No pills.
   3) Secondary CTA is a solid near-black block (var(--black3) #111214) with a white label and
      a thin orange keyline — the clear lower-priority counterpart to the orange outline.
   4) Accent lives on marks + links: service/feature icons and step numbers render in orange,
      and the inline "read more" is orange text + an animated underline + a trailing moving "→".
   5) Elevated content cards float on a LARGE soft cool-tinted drop shadow (rgba(17,12,46,.15))
      with a tight radius, while list/row content separates by thin neutral hairline dividers
      rather than boxes. */

:root {
  /* Accent — the design's CTA/mark colour. Here the orange --brand IS the accent
     (borders, arrows, active step numbers, links all use it). */
  --accent: var(--brand);
  --accent-2: var(--brand);            /* CTA is flat, not a gradient → 2nd stop = accent */
  --accent-contrast: var(--white);     /* readable label on an orange fill */

  /* Buttons carry no resting shadow (the close-ups are flat outline/fill) */
  --btn-shadow: none;
  --btn-radius: 4px;                    /* the primary button's REAL radius — sharp 4px */
  --btn-height: 55px;                   /* from the CTA close-up */
  --btn-height-sm: 40px;

  /* Radius scale — this brand is sharp/low-radius (Figma --border-radius = 4px) */
  --radius-sm: 4px;                     /* inputs / small chips */
  --radius-md: 8px;                     /* cards / tiles */
  --radius-lg: 16px;                    /* large containers / hero + about-us panel */
  --radius-pill: 999px;                 /* icon buttons / chevrons */

  /* Semantic neutrals */
  --ink: var(--black3);
  --ink-soft: var(--black1);
  --border: var(--light2);

  /* Elevation — cool-tinted, one light source from above (matches the about-us panel) */
  --shadow-sm: 0 1px 2px rgba(17, 12, 46, 0.06), 0 4px 10px -6px rgba(17, 12, 46, 0.10);
  --shadow-md: 0 2px 4px rgba(17, 12, 46, 0.06), 0 14px 28px -12px rgba(17, 12, 46, 0.16);
  --shadow-lg: 0 8px 16px rgba(17, 12, 46, 0.08), 0 40px 50px -20px rgba(17, 12, 46, 0.18);
}

/* ---------------------------------------------------------------------------
   BUTTONS — one shape sitewide: 55px tall, 4px corners, 18px/700 label.
   Only COLOUR varies per band (--btn-bg / --btn-fg / --btn-accent).
--------------------------------------------------------------------------- */
.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;          /* 2px is this brand's button keyline — reserved so hover can't reflow */
  border-radius: var(--btn-radius, var(--border-radius, 4px));
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  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 orange OUTLINE CTA ("Voir les services"): light/transparent fill,
   2px orange keyline, near-black label. Fills orange on hover. */
.btn-primary {
  background: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--black3));
  border-color: var(--btn-accent, var(--accent));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--btn-accent, var(--accent));
    color: var(--accent-contrast, var(--white));
  }
}
.btn-primary:active { transform: scale(0.98); }

/* Secondary — the solid near-black block ("Voir le blog"): dark fill, white label,
   thin orange keyline. Reads as lower priority than the orange outline. */
.btn-secondary {
  background: var(--btn-bg, var(--black3));
  color: var(--btn-fg, var(--white));
  border-color: var(--btn-accent, var(--accent));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background: color-mix(in srgb, var(--black3) 88%, white);
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

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

/* Icon button — square, round, accent-filled (slider arrows, lightbox close) */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  min-height: 0;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-bg, var(--accent));
  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; }

/* Small size — only height + inline padding shrink; radius/type stay put */
.btn--sm { min-height: var(--btn-height-sm, 40px); padding-inline: 18px; }

/* ---------------------------------------------------------------------------
   HOVER VOCABULARY (reusable utilities)
--------------------------------------------------------------------------- */

/* 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 frame — zoom the image, clip the box */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 8px)); }
.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); } }

/* 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: var(--shadow-md);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* Zmiana koloru — fill 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)); }
}
/* border + text swap (outline chips) */
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--accent); border-color: var(--accent); }
}

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

/* Dodanie podkreślenia — animated underline (nav + inline links) */
.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%; }

/* ---------------------------------------------------------------------------
   CARDS / TILES — white surface, tight radius, soft cool-tinted lift
--------------------------------------------------------------------------- */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 8px));
  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; }

/* padded inner wrapper for text cards — content must not touch the card edge */
.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* ---------------------------------------------------------------------------
   INPUTS
--------------------------------------------------------------------------- */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #c3c1c0);
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  background: var(--white);
  color: var(--black3);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c3c1c0); }
.field:hover { border-color: var(--accent); }
.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; }

/* ---------------------------------------------------------------------------
   CONTENT ICONS (monochrome, recolorable 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;
  }
}
