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

:root {
  /* Colors */
  --black3: #272c31;
  --brand: #c39e5c;
  --black1: #62676c;
  --white: #ffffff;
  --brand-gradient: ;
  --light1: #f5f3f1;
  --light3: #c8c0b9;
  --black2: #3a4148;
  --icon-color: #c39e5c;
  --dark2: #2a2928;
  --light2: #e1ddd8;
  --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: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.4px;
}

.text-24px-title {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
}

.text-14px-text {
  font-family: "DM Serif Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.02em;
}

.text-64px-title {
  font-family: "DM Sans", sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 70.4px;
}

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

.text-32px-title {
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 38.4px;
}

.text-48px-title {
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 57.6px;
}

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

.text-28px-title {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 27.4px;
}

/* UI signature — derived from the design; every component honours these:
   1) Fully hard-edged - radius 0px on EVERY button, card, input and icon control; this brand has no rounded corners anywhere.
   2) Primary CTA is a warm gold gradient (bottom #c39e5c -> top #e1c27e) with DARK #272c31 text and a trailing right arrow, completely flat (no drop shadow).
   3) Secondary CTA is a plain WHITE fill with the same dark text + arrow - a quiet, lower-priority twin of the primary, never a second gold button.
   4) Cards are flat image tiles: radius 0, NO outer shadow, held apart by a thin gap (not borders); captions ride a dark left-to-right gradient scrim carrying a white title and a gold "Meer zien" link.
   5) Gold is used sparingly as lines/marks - the squiggle under section titles, the 64px DM Serif italic step numbers, inline read-more links, the 8px L-corner frame on photos - never as a flood fill except the one gradient CTA. */

:root {
  /* Accent (CTA) — the gold the primary conversion button actually uses */
  --accent: var(--brand);            /* #c39e5c */
  --accent-2: #e1c27e;               /* lighter gold = top of the CTA gradient (no palette token exists for it) */
  --accent-contrast: var(--black3);  /* dark text reads on the gold CTA, NOT white */

  --btn-shadow: none;                /* flat brand — the primary button carries no resting shadow */

  /* Radius — this brand is hard-edged, so every step is flat.
     --radius-pill is kept semantic for any genuinely-round element (this design has none). */
  --radius-sm: 0;    /* inputs / small chips */
  --radius-md: 0;    /* cards / tiles */
  --radius-lg: 0;    /* large containers */
  --radius-pill: 999px;
  --btn-radius: 0;   /* the primary button radius — also shapes the shared Slider's arrow buttons */

  /* Button geometry — from the Figma CTA close-up: radius 0 · padding 16/32 · ~55px tall · 18px semibold */
  --btn-height: 55px;
  --btn-height-sm: 44px;
  --btn-pad-inline: 32px;
  --btn-weight: 600;
  --btn-font-size: 18px;
}

/* ===== Buttons ============================================================ */
.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: var(--btn-pad-inline, 32px);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, 0);
  font-family: inherit;
  font-size: var(--btn-font-size, 18px);
  font-weight: var(--btn-weight, 600);
  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(--accent, var(--brand)); outline-offset: 2px; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Primary — the gold gradient conversion CTA with dark text, flat */
.btn-primary {
  background: var(--btn-bg, linear-gradient(to top, var(--accent, var(--brand)), var(--accent-2, var(--accent, var(--brand)))));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); filter: brightness(0.96); }
}
.btn-primary:active { transform: translateY(0); filter: none; }

/* Secondary — plain white fill, dark text; the quiet, lower-priority twin */
.btn-secondary {
  background-color: var(--btn-bg, var(--white));
  color: var(--btn-fg, var(--black3));
  border-color: var(--btn-accent, var(--light3));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: color-mix(in srgb, var(--btn-bg, var(--white)) 93%, var(--black3));
    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(--black3));
  border-color: transparent;
  padding-inline: 12px;
}
@media (hover: hover) {
  .btn-ghost:hover { background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 12%, transparent); }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — square, honouring the hard-edged brand */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, 0);
  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(--black3)));
  border: none; cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.06); } }
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--accent, var(--brand)); outline-offset: 2px; }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

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

/* ===== Cards / tiles ====================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, 0);
  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 color-mix(in srgb, var(--black3) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3) 18%, transparent);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent, 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); }

/* ===== Inputs ============================================================= */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  border: 1px solid var(--light3, #c8c0b9);
  border-radius: var(--radius-sm, 0);
  background: var(--white);
  color: var(--black3);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #62676c); }
.field:hover { border-color: var(--accent, var(--brand)); }
.field:focus {
  outline: none;
  border-color: var(--accent, var(--brand));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--brand)) 25%, transparent);
}
.field:disabled { opacity: 0.5; cursor: not-allowed; }
.field:user-invalid { border-color: #e5484d; }

/* ===== Links ============================================================== */
/* Inline text / read-more link — animated gold underline grows from the left */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent, var(--brand)), var(--accent, 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(--accent, var(--brand)); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent, var(--brand)); }
.link-underline-center { background-position: 50% 100%; }

/* ===== Hover vocabulary (reusable utilities) ============================== */
/* Powiekszenie — scale */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* 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 color-mix(in srgb, var(--black3) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3) 18%, transparent);
  }
}
.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(--black3)); }
}
/* border + text swap (outline chips) */
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--accent, var(--brand)); border-color: var(--accent, var(--brand)); }
}

/* Ruchoma strzalka — moving arrow (glyph points right here, so it slides right) */
.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: var(--arrow-nudge, 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); }
}

/* Image inside a fixed frame — zoom the media, not the box */
.media { overflow: hidden; border-radius: var(--radius-md, 0); }
.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); } }

/* ===== Content icons (monochrome, 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 ================================================== */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-md, 0);
}
.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;
  }
}

/* hub: straż poziomu — nic nie poszerza strony w bok (base-stylesheet.ts) */
html, body { overflow-x: clip; }
