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

:root {
  /* Colors */
  --black2: #2b2d2a;
  --black1: #737570;
  --white: #ffffff;
  --brand: #ef8201;
  --black3: #1b1c1a;
  --light1: #f3f4f1;
  --brand-2: #363735;
  --light3: #c2c4bf;
  --light2: #dcded9;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --section-gap: 64px;
  --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: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) ZERO-RADIUS EVERYWHERE — buttons, cards, inputs and icon badges are hard 90deg
      rectangles (--border-radius: 0). The ONLY round shapes are the chevron ring inside a
      button and the circular carousel arrow buttons / dots.
   2) PRIMARY CTA — solid orange #ef8201 hard rectangle, white 18px SemiBold label, a trailing
      chevron inside a thin white circular ring, 16px/24px padding, ~56px tall, NO resting shadow.
   3) SECONDARY CTA — white fill + 2px light-grey border (--light2 #dcded9), dark label (--black3),
      same sharp rectangle + chevron-in-a-thin-dark-ring; reads as clearly lower priority than the CTA.
   4) ICON BADGE — service / process icons sit inside a FILLED ORANGE SQUARE (sharp corners) with a
      white glyph; never a circle, never a soft tile.
   5) CARDS — flat white sharp blocks with NO resting shadow; the featured / hover card gets a deep
      soft drop shadow (0 8px 33px rgba(0,0,0,.21)); inline "read more" is orange text + trailing arrow.
*/

:root {
  /* Accent / CTA — the design's primary button is a SOLID orange fill = --brand (#ef8201) */
  --accent: var(--brand);              /* #ef8201 */
  --accent-2: var(--brand);            /* CTA is SOLID (no gradient) → second stop = accent */
  --accent-contrast: var(--white);
  --btn-shadow: none;                  /* the primary CTA is a FLAT rectangle — no resting shadow */

  /* Radius scale — this brand is deliberately SHARP: every surface is 0. Round chrome only = pill. */
  --radius-sm: var(--border-radius, 0px);   /* inputs / chips */
  --radius-md: var(--border-radius, 0px);   /* cards / tiles */
  --radius-lg: var(--border-radius, 0px);   /* large containers */
  --radius-pill: 999px;                     /* icon buttons, arrow rings, carousel dots */
  --btn-radius: var(--border-radius, 0px);  /* primary button radius (also shapes Slider arrows) */

  --btn-height: 56px;                  /* ONE button height site-wide (16px + 23.4px + 16px ≈ 55) */
  --btn-height-sm: 44px;
}

/* ============================== Buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;                       /* design gap: label ↔ arrow */
  box-sizing: border-box;
  min-height: var(--btn-height, 56px);   /* height fixed here — never re-derived from padding */
  padding-block: 0;
  padding-inline: 24px;            /* design px-24 */
  border: 2px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 0px));   /* SHARP rectangle */
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  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 rectangle, white label, flat (no resting shadow).
   A section on a coloured band may recolour via --btn-bg / --btn-fg (read HERE). */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  border-color: transparent;
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -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.95); }

/* Secondary — white fill + 2px light-grey border + dark label (neutral, lower priority).
   Recolour on a coloured band via --btn-bg / --btn-fg / --btn-accent. */
.btn-secondary {
  background-color: var(--btn-bg, var(--white));
  color: var(--btn-fg, var(--black3));
  border-color: var(--btn-accent, var(--light2));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-hover, var(--light1));
    border-color: var(--black3);
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

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

/* Icon button — round orange chrome (matches the carousel prev/next arrows) */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  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)));
  border: none; cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, filter 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); filter: brightness(0.96); } }
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Slotted icon/SVG — sized to the square & centred (shared <Button> slots a raw, unsized <svg>) */
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* Small size — only height + inline padding shrink, never the radius/typography */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 18px; }

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

/* Zoom an image inside a fixed frame (portfolio tile, gallery) without shifting neighbours */
.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); } }

/* 2. Uniesienie — lift (translateY + the design's signature deep 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 -11px 60px 0 rgba(50, 50, 93, 0.04), 0 8px 33px 0 rgba(0, 0, 0, 0.21);
  }
}
.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: 16px; }
.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 (grows from the left, in the brand orange) */
.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%; }

/* Inline "read more" — orange text + trailing arrow (services card style) */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.link-more .arrow { transition: transform 200ms ease; }
@media (hover: hover) { .link-more:hover .arrow { transform: translateX(4px); } }

/* ============================== Cards / tiles ============================== */
.card {
  position: relative;              /* sits above any section decoration */
  z-index: 1;
  background: var(--white);        /* solid — never transparent */
  border-radius: var(--radius-md, var(--border-radius, 0px));   /* SHARP */
  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 -11px 60px 0 rgba(50, 50, 93, 0.04), 0 8px 33px 0 rgba(0, 0, 0, 0.21);
  }
  .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: var(--padding-vertical, 24px) var(--padding-horizontal, 24px); }

/* ============================== Inputs (forms) ============================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--light3, #c2c4bf);
  border-radius: var(--radius-sm, var(--border-radius, 0px));   /* SHARP */
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black3, #1b1c1a);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #737570); }
.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) 22%, transparent);
}
.field:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================== Content icons + badges ============================== */
/* Monochrome icon painted via CSS mask — steer the colour with --icon-color ONLY */
.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;
}

/* Signature: filled ORANGE SQUARE badge (sharp) holding a white icon */
.icon-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  flex-shrink: 0;
  background-color: var(--badge-bg, var(--accent, var(--brand)));
  border-radius: var(--border-radius, 0px);   /* SHARP square — the brand signature */
}
.icon-badge .svc-icon { --icon-color: var(--badge-icon, var(--accent-contrast, var(--white))); }

/* Numbered process step marker (kept sharp to match the brand) */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--border-radius, 0px);
  background-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--white));
}
.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;
  }
}
