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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dbdedf;
  --black3: #11110f;
  --black2: #1c1912;
  --black1: #737373;
  --light1: #f5f5f2;
  --brand: #e0aa3e;
  --light3: #c0c2c3;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 60px;

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

/* 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: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.4px;
  letter-spacing: -0.02em;
}

.text-64px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 70.4px;
  letter-spacing: -0.02em;
}

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

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

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

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

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

.text-28px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 27.4px;
  letter-spacing: -0.02em;
}

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a METALLIC GOLD gradient bar (light-champagne sheen through the middle,
      deeper amber at the edges) with DARK near-black text (NOT white) and a trailing black
      chevron ">"; soft 12px-radius rectangle, ~55px tall — never a pill, never gold-on-white.
   2) Secondary button is a distinct, lower-priority CREAM fill (--light1 #f5f5f2) with a thin
      1px GOLD (--brand) border and dark uppercase text — same 12px radius/size as primary, so it
      reads clearly quieter than the gold CTA (no gold fill).
   3) ONE soft 12px radius unifies buttons AND cards (rounded rectangles, never pills); the whole
      UI is squared-soft over near-black (#11110f) bands, with gold spent sparingly as the accent.
   4) Cards are photo tiles with a soft, COOL-GREY resting shadow (0 8px 24px rgba(149,157,165,.2)) —
      not a dark/black shadow — lifting on hover while the inner image zooms and the arrow nudges.
   5) Gold (--brand) is used as a GRAPHIC accent, not a wash: link underlines, focus rings, icon
      paint and the big process step numerals (01-06) all render in gold with tight -0.02em tracking. */

:root {
  /* Accent — the design's PRIMARY CTA is the gold brand, drawn as a metallic gradient with DARK text */
  --accent: var(--brand);            /* #e0aa3e gold */
  --accent-2: #c99433;               /* deeper gold — darker end of the CTA gradient */
  --accent-hi: #f4e2a0;              /* light champagne — metallic highlight through the CTA middle */
  --accent-contrast: var(--black3);  /* text on gold is near-black, NOT white */

  /* Primary button's RESTING signature shadow — a soft gold-tinted lift, as drawn in the close-up */
  --btn-shadow: 0 6px 16px -6px rgba(176, 132, 42, 0.45);

  /* Radius is a SCALE, not one flat value — design rounds softly at 12px; small badges 4-8px, big panels 20px */
  --radius-sm: 8px;                  /* inputs / small chips */
  --radius-md: 12px;                 /* cards / tiles / buttons — matches the design */
  --radius-lg: 20px;                 /* large containers / hero cards */
  --radius-pill: 999px;              /* fully-rounded chips */

  /* The PRIMARY button's REAL radius — a soft 12px rectangle (NOT a pill). Also shapes the shared
     Slider's prev/next arrow buttons so carousel chrome matches the brand's buttons. */
  --btn-radius: 12px;

  /* ONE button height for the whole site — the design's primary CTA is ~55px */
  --btn-height: 55px;
}

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px); /* height is fixed here — not re-derived from padding */
  padding-block: 0;                    /* centering = min-height + align-items, so any label size keeps one height */
  padding-inline: 32px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--radius-md, 12px));
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  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 metallic gold CTA + its resting signature shadow. A section may recolour it on a
   coloured band by passing a solid --btn-bg / --btn-fg; base.css reads them HERE so the override works. */
.btn-primary {
  background: var(--btn-bg, linear-gradient(100deg, var(--accent-2) 0%, var(--accent-hi) 48%, var(--accent-2) 100%));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(176, 132, 42, 0.55);
    filter: brightness(1.04);      /* the metallic gold catches a touch more light */
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: brightness(0.98); }

/* Secondary — distinct, lower-priority: cream fill + thin gold border + dark text.
   A section may recolour it on a coloured band via --btn-accent (border/text) + --btn-fg. */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #f5f5f2));
  color: var(--btn-fg, var(--black3, #11110f));
  border-color: var(--btn-accent, var(--brand));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--brand));
    color: var(--btn-fg, var(--black3, #11110f));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — no chrome until hover (on dark bands the label is light) */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--white));
  border-color: transparent;
  padding-inline: 12px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--brand)) 14%, transparent);
    color: var(--btn-accent, var(--brand));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button (slider arrows, lightbox close) — square, shaped with --btn-radius so it matches the
   brand's rounded-rect buttons instead of defaulting to a circle. */
.btn-icon {
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: var(--btn-radius, var(--radius-md, 12px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg, linear-gradient(100deg, var(--accent-2) 0%, var(--accent-hi) 48%, var(--accent-2) 100%));
  color: var(--btn-fg, var(--accent-contrast, var(--black3)));
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
@media (hover: hover) {
  .btn-icon:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 10px 22px -8px rgba(176, 132, 42, 0.55); }
}
.btn-icon:active { transform: translateY(0); }
.btn-icon:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* A slotted icon/SVG — sized to the square & centred (the shared <Button> slots a raw <svg>). */
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

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

/* ============================================================================
   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 */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 12px)); }
.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(0, 0, 0, 0.22);
  }
}
.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 */
.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 gold underline (grows from the left) */
.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%; }

/* ============================================================================
   CONTENT ICONS (monochrome, recolorable) — paint via --icon-color only
   ========================================================================== */
.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 (numbered process steps) — gold numerals, optically centred
   ========================================================================== */
.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;
  color: var(--accent, var(--brand));   /* signature: step numerals render in gold */
  font-variant-numeric: lining-nums tabular-nums;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ============================================================================
   CARDS / TILES
   ========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 12px));
  overflow: hidden;
  box-shadow: 0 8px 24px 0 rgba(149, 157, 165, 0.2);   /* signature: soft COOL-GREY resting shadow */
  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 18px 36px -10px rgba(149, 157, 165, 0.4); }
  .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 photos reach its edges; text goes in this padded inner wrapper */
.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* ============================================================================
   INPUTS (forms — contact section etc.)
   ========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #c0c2c3);
  border-radius: var(--radius-sm, var(--border-radius, 8px));
  background: var(--white);
  color: var(--black3, #11110f);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c0c2c3); }
.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; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

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