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

:root {
  /* Colors */
  --brand-2: #dbb461;
  --light2: #d5cdbd;
  --black3: #151411;
  --brand: #ca9c49;
  --brand-gold: ;
  --white: #ffffff;
  --black2: #1a1917;
  --dark-2: #03111f;
  --black1: #746f67;
  --icon-color: #ca9c49;
  --light1: #f8f6f2;
  --light3: #bcae92;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 20px;
  --section-gap: 52px;
  --section-padding: 120px;

  /* 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-14px-text-uppercase {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

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

.text-64px-title {
  font-family: "SANELA", sans-serif;
  font-size: 66px;
  font-weight: 400;
  line-height: 62px;
}

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

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

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

.text-20px-text {
  font-family: "SANELA", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1px;
}

.text-48px-title {
  font-family: "SANELA", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 62px;
}

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = a SHARP-cornered (0px radius) gold horizontal-gradient bar
      (left #ca9c49 -> mid #dbb461 -> right #ca9c49), uppercase DARK-ink label
      (#151411, NOT white) with a trailing gold right-arrow.
   2) Zero rounding everywhere - buttons, cards, inputs and image tiles all keep
      crisp 90-degree corners (the Figma --border-radius token is 0 and honoured);
      the only round shapes are decorative icon rings/badges.
   3) Secondary = underline-only TEXT button: uppercase label on a transparent
      background with a 2px gold bottom-border, no box, no side padding
      (SEE MORE / VIEW PROJECTS / READ MORE) - clearly lower priority than the CTA.
   4) Content cards = flat WHITE panel with a 1px warm-taupe (#d5cdbd) border and
      NO resting shadow, full-bleed image flush to the top edge, centered SANELA
      serif title, hairline-divided rows with thin gold right-arrow bullets.
   5) Gold is used as thin OUTLINES/RINGS and arrows, not big fills - icon glyphs
      sit inside a 1px gold-ringed circle, list bullets and CTA arrows are gold,
      and one word per heading is gold while the rest stays ink/white. */

:root {
  /* Accent = the gold the primary CTA fills with. NOTE: the CTA label is DARK ink
     (--black3), not white — that is a signature of this brand. */
  --accent: var(--brand);            /* #ca9c49 — CTA gold (darker stop) */
  --accent-2: var(--brand-2);        /* #dbb461 — lighter mid-stop of the CTA gradient */
  --accent-contrast: var(--black3);  /* #151411 — the DARK ink label on the gold button */

  --btn-shadow: none;                /* the CTA is flat — no resting drop shadow */

  /* Radius scale — this design is square. Every interactive box is 0px; only
     decorative icon rings/badges use --radius-pill. */
  --radius-sm: 0px;                  /* inputs / small chips */
  --radius-md: 0px;                  /* cards / tiles */
  --radius-lg: 0px;                  /* large containers / hero cards */
  --radius-pill: 999px;              /* reserved for circular icon rings / badges */
  --btn-radius: 0px;                 /* primary button is a sharp rectangle; also shapes the shared slider's arrow buttons */

  --btn-height: 55px;                /* ONE button height site-wide (Figma 16px block padding around a 23.4px label) */
  --btn-height-sm: 44px;             /* the one deliberate compact size */
}

/* ============================================================================
   BUTTONS — the shared <Button> outputs these exact classes.
   ONE invariant shape (height/radius/padding/type); only COLOUR varies per band
   via --btn-bg / --btn-fg / --btn-accent.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px); /* height fixed here — not re-derived from padding */
  padding-block: 0;                    /* vertical centring is min-height + align-items */
  padding-inline: 24px;                /* Figma px-24 on the primary CTA */
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 0px)); /* sharp for this brand */
  font-family: "DM Sans", sans-serif;  /* the design's button typography, verbatim */
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.3px;
  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(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — the gold horizontal gradient with a DARK-ink label (signature #1). */
.btn-primary {
  background: var(--btn-bg, linear-gradient(90deg, var(--accent, var(--brand)), var(--accent-2, var(--accent)) 50%, 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(1.05);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent, var(--brand)) 60%, transparent);
  }
}
.btn-primary:active { transform: translateY(0); filter: none; box-shadow: var(--btn-shadow, none); }

/* Secondary — underline-only TEXT button (signature #3): transparent, a 2px gold
   bottom-border, no box, no side padding. Keeps the shared 55px height so it sits
   level with the primary in a row while the underline lands ~16px below the label. */
.btn-secondary {
  background: transparent;
  color: var(--btn-fg, currentColor);
  border: none;
  border-bottom: 2px solid var(--btn-accent, var(--accent, var(--brand)));
  border-radius: 0;
  padding-inline: 0;
}
@media (hover: hover) {
  .btn-secondary:hover {
    color: var(--btn-accent, var(--accent, var(--brand)));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — gold label, no chrome until hover (e.g. "READ MORE"). */
.btn-ghost {
  background: transparent;
  color: var(--btn-fg, var(--accent, var(--brand)));
  border: none;
  padding-inline: 8px;
}
@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(1px); }

/* Icon button — square (sharp) to honour signature #2; gold fill, dark glyph.
   Used for slider arrows / lightbox chrome. */
.btn-icon {
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  border-radius: var(--btn-radius, 0px);
  background: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--black3));
  border: none;
  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(1.05); } }
.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 (Button slots a raw <svg>). */
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* The one deliberate smaller button — only height + inline padding shrink. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 18px; }

/* ============================================================================
   HOVER VOCABULARY — reusable 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); }

/* Image inside a fixed frame — zoom the image, clip the box (sharp corners). */
.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 + 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(21, 20, 17, 0.24);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* 3. Zmiana koloru — colour change */
.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)); }
}
.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 (gold, signature #5) */
.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: 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 (nav + inline links) */
.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%; }

/* ============================================================================
   CARDS / TILES — flat white panel, 1px warm-taupe border, no resting shadow
   (signature #4). Lift + shadow + inner zoom + arrow nudge on hover.
   ========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--light2, #d5cdbd);
  border-radius: var(--radius-md, var(--border-radius, 0px));
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease, border-color 200ms ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px -14px rgba(21, 20, 17, 0.28);
    border-color: var(--brand);
  }
  .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 images reach the edge; text goes in .card-body. */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* ============================================================================
   INPUTS — square (signature #2), thin warm border, gold focus.
   ========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #bcae92);
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  background: var(--white);
  color: var(--black2, #1a1917);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #bcae92); }
@media (hover: hover) { .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 — monochrome mask, recoloured via --icon-color (signature #5).
   ========================================================================== */
.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 — grid-centred disc for 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 dashboard data → obviously-temporary placeholder. */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

/* ============================================================================
   MOTION GUARD — respect reduced-motion everywhere.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
