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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dee0dc;
  --brand: #bd9854;
  --black3: #101010;
  --light3: #c3c5c0;
  --icon-color: #bd9854;
  --black2: #1a1a1a;
  --dark-gradient: ;
  --light1: #f3f4f2;
  --black1: #737570;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 110px;

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

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

.text-16-px-button {
  font-family: "Suisse Int'l", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 23.4px;
  letter-spacing: 0.04em;
}

.text-64px-title {
  font-family: "Cinzel", sans-serif;
  font-size: 74px;
  font-weight: 400;
  line-height: 67px;
  letter-spacing: -0.02em;
}

.text-22px-title-accent {
  font-family: "Suisse Int'l", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 27.4px;
  letter-spacing: 0.11em;
}

.text-18px-text {
  font-family: "Suisse Int'l", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
}

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

.text-40px-title {
  font-family: "Suisse Int'l", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.02em;
}

.text-32px-title {
  font-family: "Suisse Int'l", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
  letter-spacing: -0.02em;
}

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA = a sharp 2px-radius rectangle filled with the warm GOLD gradient
      (#a38245 -> #d1ab4f), white UPPERCASE 16px/500 label at +0.04em tracking and a
      trailing right-arrow; ~58px tall, 16px/24px padding, NO rounding and NO resting shadow.
   2) Secondary / navigation button = the SAME sharp rectangle but a DARK fill (--black3,#101010)
      with a 1px rgba(255,255,255,0.1) hairline border and white uppercase label + arrow —
      reads as neutral and lower-priority, never gold.
   3) Universal 2px radius: buttons, cards, images and inputs ALL share the tiny 2px corner —
      an architectural, near-square look; no pills anywhere.
   4) Dark surfaces are separated by faint white hairlines, not shadows: tiles are near-black
      (--black2/--black3) outlined by a ~rgba(255,255,255,0.05) 1px line; elevation is the line, not blur.
   5) Gold is a precise accent only (~10%): the trailing arrow, the "View" text-CTA, step numbers,
      the emphasised heading word and line icons — body copy stays white/light-grey, never gold. */

:root {
  /* Accent — the design's PRIMARY CTA colour is the warm gold (token --brand). The CTA itself
     is a gradient; --accent-2 is its darker stop. For solid accent uses (links, active states,
     icons, focus ring) use var(--accent). */
  --accent: var(--brand);            /* #bd9854 — solid gold for links/active/icons/ring */
  --accent-2: #a38245;               /* darker end of the CTA gradient (no token exists for it) */
  --accent-light: #d1ab4f;           /* lighter end of the CTA gradient (no token exists for it) */
  --accent-contrast: var(--white);   /* readable text on the accent */
  --cta-gradient: linear-gradient(100deg, var(--accent-2) 0%, var(--accent-light) 100%);
  --btn-shadow: none;                /* the primary button is FLAT at rest — the brand uses no drop shadow */

  /* Radius — the design is near-square: a single 2px corner on every element. The scale is kept
     for API compatibility but every step resolves to the brand's flat 2px. */
  --radius-sm: var(--border-radius, 2px);   /* inputs / small chips */
  --radius-md: var(--border-radius, 2px);   /* cards / tiles */
  --radius-lg: var(--border-radius, 2px);   /* large containers */
  --radius-pill: 999px;                     /* kept for reference; this brand does not use it */
  --btn-radius: var(--border-radius, 2px);  /* primary button radius — also shapes the shared slider arrows */

  /* Button geometry — from the design's gold CTA (h~58px, padding 16/24, 16px/500 uppercase label). */
  --btn-height: 58px;
  --btn-height-sm: 44px;
  --btn-pad-inline: 24px;
  --btn-weight: 500;
  --btn-transform: uppercase;
  --btn-tracking: 0.04em;

  /* Hairline separators — the brand's one separation language. */
  --hairline-dark: rgba(255, 255, 255, 0.06);   /* faint line on near-black surfaces */
  --hairline-dark-strong: rgba(255, 255, 255, 0.14);
}

/* ============================ 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: var(--btn-pad-inline, 24px);
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-sm, 2px));
  font-family: "Suisse Int'l", sans-serif;
  font-size: 16px;
  font-weight: var(--btn-weight, 500);
  text-transform: var(--btn-transform, uppercase);
  letter-spacing: var(--btn-tracking, 0.04em);
  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;
}
.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 ("Free Quote"). */
.btn-primary {
  background: var(--btn-bg, var(--cta-gradient));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent, var(--brand)) 50%, transparent);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); }

/* Secondary — the design's DARK, lower-priority navigation button with a hairline border. */
.btn-secondary {
  background-color: var(--btn-bg, var(--black3, #101010));
  color: var(--btn-fg, var(--white));
  border-color: var(--btn-accent, rgba(255, 255, 255, 0.1));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-bg-hover, color-mix(in srgb, var(--black3, #101010) 88%, var(--white)));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — the gold "View ->" text-CTA on cards; no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--accent, var(--brand)));
  border-color: transparent;
  padding-inline: 8px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand))) 10%, transparent);
  }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — sharp 2px to match the brand (slider arrows / lightbox glyphs). */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, 2px);
  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: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.08); } }
.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; radius/typography are untouched. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 18px; }

/* ============================ ARROW (trailing icon) ============================ */
.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, translateX(4px)); }
}

/* ============================ LINKS ============================ */
/* Inline "read more" — 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)); }

/* Nav / menu link — gold wash underline from centre, gold on active. */
.menu-link {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent, var(--brand)), var(--accent, var(--brand)));
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 220ms ease, color 200ms ease;
  padding-bottom: 4px;
}
@media (hover: hover) {
  .menu-link:hover { background-size: 100% 2px; color: var(--white); }
}
.menu-link:focus-visible { background-size: 100% 2px; outline: none; }
.menu-link[aria-current="page"] { background-size: 100% 2px; color: var(--white); }

/* ============================ CARDS / TILES ============================ */
/* The clickable tile is a near-black surface separated by a hairline, not a shadow. Padless so
   flush media reaches the edges — text goes in .card-body. */
.card {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--black2, #1a1a1a);
  border: 1px solid var(--hairline-dark, rgba(255, 255, 255, 0.06));
  border-radius: var(--radius-md, 2px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  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 rgba(0, 0, 0, 0.28), 0 16px 32px -14px rgba(0, 0, 0, 0.55);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: var(--arrow-nudge, translateX(4px)); }
}
.card img { transition: transform 400ms ease; }
.card:focus-within { outline: none; }
.card a:focus-visible,
.card:focus-visible { outline: 2px solid var(--accent, var(--brand)); outline-offset: 2px; }

/* Padded inner wrapper for text content — the design uses the 32px gutter. */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* ============================ INPUTS ============================ */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--light3, #c3c5c0);
  border-radius: var(--radius-sm, 2px);
  background: var(--white);
  color: var(--black3, #101010);
  font-family: "Suisse Int'l", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--black1, #737570); }
@media (hover: hover) { .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; }

/* ============================ HOVER UTILITIES ============================ */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

.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 rgba(0, 0, 0, 0.28), 0 16px 32px -14px rgba(0, 0, 0, 0.5);
  }
}
.hover-lift:active { transform: translateY(-2px); }

.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));
  }
}

/* Image zoom inside a fixed, clipped frame (portfolio / gallery / avatar). */
.media { overflow: hidden; border-radius: var(--radius-md, 2px); }
.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, recolorable) ============================ */
.svc-icon {
  display: inline-block;
  width: 48px; height: 48px;
  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-sm, 2px);
}
.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; }
