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

:root {
  /* Colors */
  --white: #ffffff;
  --black3: #031306;
  --brand: #eec462;
  --light3: #8d8d83;
  --light2: #e8e8dd;
  --light1: #f5f7f8;
  --brand2: #166b2c;
  --dark2: #2a2928;
  --dark-2: #03111f;
  --black2: #0a2117;
  --black1: #3f4045;
  --dark-graphite: #252525;

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

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

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

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

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

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

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

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

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

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

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

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

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

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a SOLID GOLD (#eec462 = --brand) full pill (radius 34px ≈ pill) with a
      DARK forest-green label (--black3), carrying a trailing right-chevron arrow inside its
      OWN filled circular disc (dark disc + gold chevron) on the right — the arrow nudges on hover.
   2) Secondary is the lower-priority NEUTRAL treatment: a forest-green / transparent pill with a
      1px WHITE outline and a white label, its trailing arrow inside a WHITE circular disc
      (inverted: white disc + dark chevron) — never a second gold clone of the primary.
   3) Form inputs are CREAM/SAND (--light2 #e8e8dd) borderless PILL fields (fully rounded), muted
      grey (--light3) placeholder, the label floats ABOVE the field (not inside it).
   4) Image cards are rounded-24px (--radius-md) PHOTO TILES with a bottom-anchored dark-green
      gradient scrim and text over the photo — NO outer/resting shadow (shadow only appears on lift).
   5) Icons live inside FILLED CIRCULAR discs (green --brand2 #166b2c or dark --black2 #0a2117),
      paired with gold (--brand) Playfair numerals and gold hairline divider rules flanking titles. */

/* ── Semantic aliases (derived from the design — components use THESE, never raw --brand/--border-radius) ── */
:root {
  /* Accent = the design's PRIMARY CTA colour. Here the CTA is the GOLD --brand with DARK text. */
  --accent: var(--brand);                 /* gold #eec462 — the conversion-button fill */
  --accent-2: var(--brand);               /* CTA is SOLID (not a gradient) → keep = --accent */
  --accent-contrast: var(--black3);       /* readable text on gold = dark forest-green, NOT white */
  --btn-shadow: none;                     /* the primary CTA is drawn flat — no resting/signature shadow */

  /* Radius scale — the design rounds by element role (inputs/buttons = pill, cards = 24px). */
  --radius-sm: 12px;                      /* small chips / tight controls */
  --radius-md: 24px;                      /* cards / photo tiles (= Figma --border-radius) */
  --radius-lg: 32px;                      /* large containers / hero & form cards */
  --radius-pill: 999px;                   /* buttons, cream input pills, icon buttons, arrow discs */

  --btn-height: 55px;                     /* ONE button height site-wide — the design's primary CTA (~55px) */
  --btn-height-sm: 44px;                  /* the one deliberate compact button */
}

/* ───────────────────────── Buttons ─────────────────────────
   ONE shape across the whole site: height/radius/padding/label-type are invariant. Only the
   per-band COLOUR varies via --btn-bg / --btn-fg / --btn-accent. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);
  padding-block: 0;                       /* height comes from min-height + align, not padding */
  padding-inline: 24px;                   /* design CTA padding 16px 24px → 24px inline, 0 block */
  border: 1px solid transparent;
  border-radius: var(--radius-pill, var(--border-radius, 999px)); /* full pill, as drawn (34px) */
  font-family: "DM Sans", sans-serif;     /* the design's button type, inlined verbatim */
  font-size: 18px;
  font-weight: 600;
  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, 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 — solid gold pill, dark label (signature trait 1). */
.btn-primary {
  background: var(--btn-bg, 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);
    box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent, var(--brand)) 55%, transparent);
    filter: brightness(0.96);
  }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow, none); filter: brightness(0.94); }

/* Secondary — neutral, lower-priority: 1px white outline + white label (signature trait 2). */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--white));
  border-color: var(--btn-accent, var(--white));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--white));
    color: var(--btn-bg-hover, var(--black3));
    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(--black1, currentColor));
  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 { transform: scale(0.99); }

/* Trailing arrow inside its OWN filled circular disc (signature trait 1 & 2). The disc colour
   inverts between primary (dark disc, gold chevron) and secondary (white disc, dark chevron). */
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill, 999px);
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.btn .arrow > svg,
.btn .arrow > img { width: 55%; height: 55%; display: block; }
.btn-primary .arrow { background-color: var(--black3); color: var(--brand); }
.btn-secondary .arrow,
.btn-ghost .arrow { background-color: var(--white); color: var(--black3); }
@media (hover: hover) {
  .btn:hover .arrow { transform: translateX(3px); }
  .btn-secondary:hover .arrow { background-color: var(--black3); color: var(--white); }
}

/* Icon button (slider arrows, lightbox close). */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--black3));
  border: none; cursor: pointer;
  transition: transform 200ms ease, background-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(--brand); outline-offset: 2px; }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

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

/* ───────────────────────── Hover vocabulary ─────────────────────────
   Combine these: CTA = lift + colour + arrow; card = lift + shadow + media zoom; nav = underline. */

/* 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 (photo tiles, gallery). */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius)); }
.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(3, 19, 6, 0.35); }
}
.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 (read-more, text links, standalone indicators) */
.with-arrow { display: inline-flex; align-items: center; gap: 8px; }
.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 links, 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%; }

/* ───────────────────────── Content icons (monochrome, recolorable) ─────────────────────────
   Render single-colour icons as a CSS mask so the section paints them per band (gold on light,
   white on dark/brand). Sits inside the design's filled circular discs (signature trait 5). */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-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;
}

/* ───────────────────────── Cards / tiles ─────────────────────────
   Clickable card = one big target: lift + shadow on the card, inner media zooms, inner arrow
   nudges — all from the SAME :hover. NO resting shadow (signature trait 4). */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius));
  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(3, 19, 6, 0.35); }
  .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 the edges; text goes in this padded inner wrapper. */
.card-body { padding: 24px var(--padding-horizontal, 32px); }

/* ───────────────────────── Inputs (cream pill fields) ─────────────────────────
   Signature trait 3: borderless cream/sand pill, muted grey placeholder, label floats ABOVE. */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill, var(--border-radius, 999px));
  background: var(--light2, #e8e8dd);
  color: var(--black3, #031306);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.field::placeholder { color: var(--light3, #8d8d83); }
.field:hover { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.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;
  }
}
