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

:root {
  /* Colors */
  --brand: #b5895d;
  --white: #ffffff;
  --black3: #26190f;
  --black2: #3d261a;
  --black1: #504b49;
  --light3: #c4b8a9;
  --light2: #d0d7da;
  --light1: #f4efe9;
  --text-white: #FFFFFF;
  --black1-5: #514130;
  --icon-color: #b5895d;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 16px;
  --section-gap: 48px;
  --section-padding: 100px;

  /* 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-accent {
  font-family: "Teko", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.02px;
  letter-spacing: 0.04em;
}

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

.text-28px-title {
  font-family: "Teko", sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 32px;
}

.text-16px-text {
  font-family: "Anek Latin", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

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

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

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

.text-80px-title {
  font-family: "Tektur", sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 80px;
}

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) ONE flat 4px corner on every control — buttons, cards and inputs all share --border-radius:4px,
      inner icon squares use 2px; no pills, no rounded scale. A deliberately sharp, architectural look.
   2) ZERO drop shadows at rest anywhere — depth is surface-colour steps (white cards on warm
      --light1/--light2 bands) and 1px hairlines (--black1-5 #514130 outlines on the dark --black3
      process/about band), never blur.
   3) Primary CTA = solid camel --brand (#b5895d) fill, white UPPERCASE Anek-Latin 18px/700 label,
      a trailing dotted ↗ (diagonal) arrow, 4px radius, 16×32 padding, ~56px tall, flat (no shadow).
   4) Secondary CTA = transparent fill + 1px --brand camel outline + dark-brown --black3 uppercase
      label + the same ↗ arrow — clearly lower priority than the solid primary, never a second camel fill.
   5) Icons sit in a small camel-filled square tile (2px radius) with a white glyph; service cards
      carry a camel square icon-button (.btn-icon, 4px) with a white ↗ in the bottom-right corner. */

:root {
  /* Accent — the design's primary CTA colour IS --brand (warm camel #b5895d) */
  --accent: var(--brand);
  --accent-2: var(--brand);          /* solid CTA — no gradient, so the darker end = the accent */
  --accent-contrast: var(--white);

  /* Flat brand — the primary button has NO resting shadow */
  --btn-shadow: none;

  /* Radius — the design draws ONE flat 4px corner on every control; inner icon squares 2px.
     The scale steps are intentionally all 4px (not a rounded ladder); pill is a fallback only. */
  --radius-sm: var(--border-radius, 4px);   /* inputs / small chips / icon squares */
  --radius-md: var(--border-radius, 4px);   /* cards / tiles */
  --radius-lg: var(--border-radius, 4px);   /* large containers / hero + about cards */
  --radius-pill: 999px;                     /* fallback for truly-round controls (brand uses none) */

  /* The primary button's real radius — also shapes the shared Slider's prev/next arrow buttons,
     so the carousel chrome stays square like the brand's buttons instead of defaulting to circles */
  --btn-radius: var(--border-radius, 4px);
  --btn-height: 56px;                 /* ~55px from the CTA close-up */
  --btn-pad-inline: 32px;             /* primary 16×32 → inline 32px (secondary overrides to 24px) */

  /* Flat-brand hairline (quiet separator on same-ish surfaces / dark bands) */
  --hairline: var(--light3, #c4b8a9);
  --hairline-dark: var(--black1-5, #514130);
}

/* ------------------------------------------------------------------ *
 * Buttons — ONE flat shape site-wide: 4px corner, ~56px tall, camel. *
 * Geometry is fixed here; only COLOUR varies per band (--btn-bg etc) *
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: var(--btn-height, 56px);
  padding-block: 0;
  padding-inline: var(--btn-pad-inline, 32px);
  border: 1px solid transparent;          /* reserved at rest so a hover border can't reflow */
  border-radius: var(--btn-radius, var(--radius-sm, 4px));
  font-family: "Anek Latin", sans-serif;
  font-size: var(--btn-font-size, 18px);
  font-weight: var(--btn-weight, 700);
  text-transform: var(--btn-transform, uppercase);
  letter-spacing: var(--btn-tracking, 0.01em);
  font-variant-caps: var(--btn-caps, normal);
  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,
              filter 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;
}

/* Primary — solid camel fill, white uppercase label, flat (no resting shadow) */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.94);          /* measured darken — stays within the warm palette */
  }
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.9); }

/* Secondary — transparent fill + 1px camel outline + dark label; lower priority than primary */
.btn-secondary {
  background-color: transparent;
  color: var(--btn-fg, var(--black3, #26190f));
  border-color: var(--btn-accent, var(--brand));
  padding-inline: 24px;                /* secondary 16×24 → inline 24px */
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--brand));
    color: var(--btn-fg-hover, var(--white));
  }
}
.btn-secondary:active { filter: brightness(0.94); }

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

/* Icon button — camel SQUARE (4px, matching the brand), white glyph; e.g. service-card corner,
   slider arrows. Not a circle: the brand's icon controls are square. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border: none;
  border-radius: var(--btn-radius, var(--radius-sm, 4px));
  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)));
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, filter 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.06); filter: brightness(0.94); } }
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid 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; }

/* ------------------------------------------------------------------ *
 * Links                                                              *
 * ------------------------------------------------------------------ */
/* Inline "read more" / text link — underline grows from the left in camel */
.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); }

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

/* 2 — uniesienie (lift + warm-tinted 2-layer shadow; resting stays flat) */
.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, #26190f) 8%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #26190f) 18%, transparent);
  }
}
.hover-lift:active { transform: translateY(-2px); }

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

/* 4 — ruchoma strzałka (moving arrow). Brand arrow is diagonal ↗ → it moves along its own line */
.with-arrow { display: inline-flex; align-items: center; gap: 12px; }
.with-arrow .arrow { transition: transform 200ms ease; display: inline-flex; }
@media (hover: hover) { .with-arrow:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); } }
.btn .arrow, .card .arrow { --arrow-nudge: translate(3px, -3px); }

/* 5 — dodanie podkreślenia: see .link-underline above (animated underline) */

/* ------------------------------------------------------------------ *
 * Cards / tiles — flat white at rest, lift + tinted shadow on hover   *
 * ------------------------------------------------------------------ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 4px));
  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, #26190f) 8%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #26190f) 18%, transparent);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translate(3px, -3px)); }
}
.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 a padded inner wrapper */
.card-body { padding: var(--padding-vertical, 24px) var(--padding-horizontal, 24px); }

/* ------------------------------------------------------------------ *
 * Content icons (monochrome, recolorable) — camel square tile motif  *
 * ------------------------------------------------------------------ */
.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;
}
/* The brand's icon-in-a-filled-square: camel tile, white glyph, 2px corner */
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 2px;
  background-color: var(--accent, var(--brand));
  --icon-color: var(--accent-contrast, var(--white));
}

/* ------------------------------------------------------------------ *
 * Inputs                                                             *
 * ------------------------------------------------------------------ */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;                 /* design draws 16px gutter; 12px block keeps a ≥44px target */
  border: 1px solid var(--hairline, #c4b8a9);
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  background: var(--white);
  color: var(--black1, #504b49);
  font-family: "Anek Latin", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c4b8a9); }
.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-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; }
