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

:root {
  /* Colors */
  --brand: #ceb463;
  --light1: #f2f4f5;
  --light3: #93989b;
  --black1: #5c6470;
  --black3: #2b3038;
  --white: #ffffff;
  --brand-2: #c6a65a;
  --black2: #33383f;
  --light2: #dbdedf;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --section-gap: 48px;
  --section-padding: 120px;
  --cards-gap: 10px;

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

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

.text-18-px-button {
  font-family: "Saira Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 23.4px;
}

.text-32px-title {
  font-family: "Saira Condensed", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
}

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

.text-16px-accent {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.15em;
}

.text-64px-title {
  font-family: "Saira Condensed", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 70.4px;
}

.text-24px-title {
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31.2px;
}

.text-48px-title {
  font-family: "Saira Condensed", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
}

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

.text-28px-title {
  font-family: "Saira Condensed", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 27.4px;
}

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = a full GOLD GRADIENT bar (brand-2 → brand) carrying a white uppercase
      Saira Condensed label and a WHITE inset square (46px, 2px radius) that holds a gold
      arrow on the right; 6px outer radius; FLAT (no drop shadow); asymmetric padding
      (18px left / 6px right, 6px top-bottom) so the white arrow box sits flush inside.
   2) Secondary is NEUTRAL and lower-priority — white fill + dark (--black3) text + a thin
      light (--light2) border on light bands; transparent + 1px WHITE border + white text on
      dark bands. Never a second gold clone of the primary.
   3) Uniform 6px radius on every component (buttons, cards, tiles) — equal on all four
      corners, no pills, no sharp squares; inputs a touch tighter (4px). Architectural restraint.
   4) Image tiles = dark bottom-up gradient scrim + white title + light-grey body + a gold
      UNDERLINED "read more" with a trailing arrow; content cards = white with a 1px --light2
      border, NO shadow, a big faded --light2 index number and a gold icon square on the top edge.
   5) Icons live in gold squares — a FILLED --brand square with a WHITE icon on dark/accent
      bands, a gold-OUTLINED square with a gold icon on light cards; recoloured via --icon-color,
      always light-on-dark / gold-on-light. */

/* ── Semantic aliases derived from the design ─────────────────────────────── */
:root {
  --accent: var(--brand);            /* the design's PRIMARY-CTA colour = the gold --brand */
  --accent-2: var(--brand-2);        /* darker end of the CTA gradient (brand-2 → brand) */
  --accent-contrast: var(--white);   /* readable label on the gold accent */
  --btn-shadow: none;                /* the primary CTA is flat in the design — no resting shadow */

  --radius-sm: 4px;                  /* inputs / small chips */
  --radius-md: 6px;                  /* buttons / cards / tiles — the design's canonical 6px */
  --radius-lg: 8px;                  /* large containers */
  --radius-pill: 999px;              /* icon buttons / fully-round chrome */

  --btn-radius: var(--radius-md);    /* the primary button's REAL radius (6px) — also shapes the shared Slider arrows */
  --btn-height: 58px;                /* ONE button height site-wide (matches the design's 58px CTAs) */
  --btn-height-sm: 44px;             /* the one deliberate compact height */
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: var(--btn-height, 58px);
  padding-block: 0;
  padding-inline: 32px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 6px));
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
  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, 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 — gold gradient fill + white arrow box, flat resting state */
.btn-primary {
  background: var(--btn-bg, linear-gradient(90deg, var(--accent-2, var(--accent, var(--brand))), var(--accent, var(--brand))));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
  border-color: transparent;
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent, var(--brand)) 60%, transparent);
    filter: brightness(0.97);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: brightness(0.95); }
/* the signature: a trailing arrow rides in a white inset square */
.btn-primary.with-arrow { padding-right: 6px; gap: 20px; }
.btn-primary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--white);
  border-radius: 2px;
  color: var(--accent, var(--brand));
  transition: transform 200ms ease;
}
.btn-primary .arrow > svg,
.btn-primary .arrow > img { width: 20px; height: 20px; display: block; }
@media (hover: hover) { .btn-primary:hover .arrow { transform: translateX(2px); } }

/* Secondary — neutral, lower-priority (white fill + dark text + light border by default) */
.btn-secondary {
  background-color: var(--btn-bg, var(--white));
  color: var(--btn-fg, var(--black3, #2b3038));
  border-color: var(--btn-accent, var(--light2, #dbdedf));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--accent, var(--brand)));
    color: var(--btn-contrast, var(--accent-contrast, var(--white)));
    border-color: var(--btn-accent, var(--accent, var(--brand)));
    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, currentColor));
  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);
    color: var(--btn-accent, var(--accent, var(--brand)));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — round gold chrome (carousel arrows, lightbox close) */
.btn-icon {
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  gap: 0;
  border-radius: var(--radius-pill, 999px);
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  border: 1px solid transparent;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); filter: brightness(0.97); } }
.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/type */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; }

/* ── Hover vocabulary (reusable utilities) ────────────────────────────────── */

/* 1) Powiększenie — scale */
.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 clipped frame */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 6px)); }
.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 16px 32px -12px rgba(0, 0, 0, 0.22); }
}
.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(--accent, var(--brand)); border-color: var(--accent, var(--brand)); }
}

/* 4) Ruchoma strzałka — moving arrow */
.with-arrow { display: inline-flex; align-items: center; gap: 8px; }
.with-arrow .arrow { display: inline-flex; 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 gold underline (nav + inline links) */
.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%; }

/* ── Cards / tiles ────────────────────────────────────────────────────────── */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 6px));
  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 16px 32px -12px rgba(0, 0, 0, 0.22); }
  .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, var(--brand)); outline-offset: 2px; }
/* `.card` stays padless so flush media reaches its edges; text goes in `.card-body` */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* ── Inputs (contact/quote forms) ─────────────────────────────────────────── */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light2, #dbdedf);
  border-radius: var(--radius-sm, var(--border-radius, 6px));
  background: var(--white);
  color: var(--black3, #2b3038);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #93989b); }
.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:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Content icons (monochrome mask, recolourable) ────────────────────────── */
.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;
}

/* ── Numbered process step badge ──────────────────────────────────────────── */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md, 6px);
}
.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;
  }
}
