/* AUTO-GENERATED by the hub from the Branding tab (branding → baza).
   Regenerowany przy każdym "Wygeneruj bazę (z brandingu)" — nie edytuj ręcznie. */
/* tokens-schema: v6 */
:root {
  /* — kolory z PLIKU logo (źródło prawdy) — */
  --logo-1: #032905;
  --logo-2: #4d8d1a;
  --logo-3: #98c162;
  --logo-4: #1e4f0d;
  /* — paleta z zakładki Branding — */
  --palette-1: #3d7a14;
  --palette-2: #1e4f0d;
  --palette-3: #f8faf7;
  --palette-4: #edf0ea;
  --palette-5: #0e1a0b;
  --palette-6: #162410;
  --palette-7: #131a0f;
  --palette-8: #596456;
  --palette-9: #f2f5f0;
  --palette-10: #d6dbd3;
  /* — semantyka bazowa (heurystyka; base.css może nadpisać na wierzchu) — */
  --brand: #4d8d1a;
  --brand-2: #376613;
  --black2: #0e1a0b;
  --white: #ffffff;
  --light2: #f8faf7;
  --light3: #e9ebe8;
  /* — typografia (self-host w src/styles/fonts.css) — */
  --font-heading: "Calistoga", sans-serif;
  --font-body: "Poppins", sans-serif;
  /* — layout — */
  --padding-horizontal: 24px;
  --section-pad-block: 96px;
  --border-radius: 8px;
}
@media (max-width: 1023px) {
  :root { --section-pad-block: 72px; }
}
@media (max-width: 767px) {
  :root { --section-pad-block: 56px; --padding-horizontal: 16px; }
}

/* System tokenów z brandingu — ŹRÓDŁO PRAWDY. base.css tylko je referuje */
/* (nie redefiniuje), więc zmiana radius/border/palety wchodzi natychmiast. */
:root {
  --accent: #3d7a14;
  --accent-2: #376613;
  --accent-contrast: #ffffff;
  --accent-strong: #1e4f0d;
  --accent-soft: #a1c783;
  --surface: #f8faf7;
  --surface-2: #edf0ea;
  --surface-dark: #0e1a0b;
  --surface-dark-2: #162410;
  --ink: #131a0f;
  --ink-soft: #596456;
  --on-dark: #f2f5f0;
  --border: #d6dbd3;
  --heading-accent: #3d7a14;
  --heading-accent-on-dark: #3d7a14;
  --heading-line-color: #3d7a14;
  --heading-line-color-on-dark: #3d7a14;
  --brand-el-watermark-color: #3d7a14;
  --brand-el-watermark-color-on-dark: #3d7a14;
  --brand-el-watermark-opacity: 0.08;
  --border-width: 1px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 13px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.10);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.14);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.18);
}

/* Baza tekstu — jedyne miejsce, które konsumuje --ink i fonty marki.          */
/* :where() = specyficzność ZERO, więc base.css i sekcje nadpisują swobodnie   */
/* niezależnie od kolejności ładowania. Zmiana palety/fontów działa od razu.   */
:where(body) {
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading, var(--font-body, system-ui, sans-serif));
}

/* Elementy brandingu — widoczność i umiejscowienie (LIVE z zakładki Branding). */
/* Sekcje owijają każdy ozdobnik w .brand-el.brand-el--<technika>; linia #7 jest  */
/* renderowana w OBU slotach (.heading-line--above/--below) i tu wybieramy jeden. */
:root {
  --brand-el-photo-frame: block;
  --brand-el-shape-divider: block;
  --brand-el-section-bg: block;
  --brand-el-text-accent: block;
  --brand-el-watermark: block;
  --brand-el-text-divider: block;
  --brand-el-mascot-signet: none;
  --brand-el-bg-photo: block;
  --brand-el-marquee-slogan: block;
  --brand-el-seam-decor: none;
  --heading-line-above: none;
  --heading-line-below: block;
  --heading-accent-mask: block;
  --heading-accent-img: none;
  --heading-line-mask: none;
  --heading-line-img: block;
}
/* Wyłączone elementy/warianty — twardo ukryte (reszta bez zmian): */
.brand-el--mascot-signet { display: none !important; }
.brand-el--seam-decor { display: none !important; }
.heading-line--above { display: none !important; }
.heading-mark--img { display: none !important; }
.heading-line-mask { display: none !important; }

/* UI signature — derived from the brand kit; every component honours these:
   1) CTA = the logo's fresh leaf-green: the primary fill is the logo's light-leaf→forest
      gradient linear-gradient(90deg, var(--accent) → var(--accent-strong)); accent green is
      spent ONLY on action/active states (60/30/10), never on reading text.
   2) The logo's single LEAF is the brand glyph: every .btn-primary carries a masked-SVG leaf as
      a leading mark that nudges toward the label on hover — the logo's leaf reused as UI.
   3) Framed photos take the approved leaf-cut radius 14px 34% 14px 34% / 14px 60% 14px 60%
      (.leaf-frame) lifted verbatim from the brand photo-frame — the organic leaf corner.
   4) Elevation is ALWAYS forest-tinted, never neutral black: shadows built on rgba(3,41,5,…)
      (--logo-1 / the photo-frame's own green shadow), so depth reads as garden, not office.
   5) The topiary canopy's clipped, scalloped crown returns as a green .hedge-crown scalloped top
      edge on every .card — the logo's defining bumpy clipped-boxwood silhouette. */

/* base.css is the GLOBAL component stylesheet (served at /base.css, linked by Layout.astro).
   tokens.css OWNS --accent, --accent-strong, --accent-soft, --accent-contrast, the --radius-*
   scale, --border, --surface*, --ink*, --on-dark and --shadow-*. This file only REFERENCES them
   (never redefines) plus the button-signature aliases the token system does not own. */
:root {
  /* button signature — NOT owned by tokens.css */
  --accent-2: var(--accent-strong);        /* darker END of the CTA gradient (logo forest green) */
  --btn-radius: var(--radius-md);           /* primary button geometry — small/soft 8px, NOT a pill */
  --btn-height: 52px;                        /* ONE button height for the whole site */
  --btn-height-sm: 40px;                     /* the one deliberate compact size */
  --btn-shadow: 0 8px 20px -10px rgba(3, 41, 5, 0.42); /* primary RESTING shadow — forest-tinted */

  /* the logo's leaf, as a mask for the brand glyph (button leading mark, dividers) */
  --leaf-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.05 8.05c-2.73 2.73-2.73 7.15-.02 9.88 1.47-3.4 4.09-6.24 7.36-7.93-2.77 2.34-4.71 5.61-5.39 9.32 2.6 1.23 5.8.78 7.95-1.37C21.43 14.86 22 4 22 4S11.14 4.57 6.05 8.05z' fill='%23000'/%3E%3C/svg%3E");
}

/* ============================================================================
   BUTTONS — one family of controls (ONE font, ONE height, ONE radius);
   only colour differs per variant / per band.
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-height);
  padding-block: 0;
  padding-inline: 28px;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  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(--accent);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — the logo light-leaf→forest gradient + forest-tinted resting shadow + leading leaf. */
.btn-primary {
  background: var(--btn-bg, linear-gradient(90deg, var(--accent), var(--accent-2)));
  color: var(--btn-fg, var(--accent-contrast));
  box-shadow: var(--btn-shadow);
}
.btn-primary::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  background-color: var(--btn-fg, var(--accent-contrast));
  -webkit-mask: var(--leaf-mask) center / contain no-repeat;
          mask: var(--leaf-mask) center / contain no-repeat;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(3, 41, 5, 0.5);
    filter: brightness(0.97);
  }
  .btn-primary:hover::before { transform: translateX(2px) rotate(-8deg); }
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--btn-shadow); }

/* Secondary — DISTINCT, lower-priority NEUTRAL treatment: outline → fills to a dark box on hover
   (never the accent green again). */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-accent, var(--ink));
  border-color: var(--btn-accent, var(--border));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--ink));
    color: var(--btn-fg, var(--surface));
    border-color: var(--btn-accent, var(--ink));
    transform: translateY(-2px);
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — no chrome until hover (same font family + weight as the rest). */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--ink));
  padding-inline: 10px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent)) 12%, transparent);
    color: var(--btn-accent, var(--accent-strong));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — soft-rounded square (uses --btn-radius so shared Slider arrows match the brand
   geometry instead of default circles). */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border: var(--border-width, 1px) solid transparent;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg, var(--accent));
  color: var(--btn-fg, var(--accent-contrast));
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) {
  .btn-icon:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(3, 41, 5, 0.45); }
}
.btn-icon:active { transform: translateY(0) scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.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); padding-inline: 18px; }

/* ============================================================================
   LINKS
   ============================================================================ */
/* Animated underline — grows from the left in the logo's leaf-green (echoes the heading
   divider element). Use for nav links + inline links. */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent), var(--accent));
  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-strong); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent-strong); }
.link-underline-center { background-position: 50% 100%; }

/* Moving arrow — put the arrow in its own element so only it moves ("read more", CTA arrows). */
.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); }
}

/* ============================================================================
   HOVER UTILITIES (the standard vocabulary — combine them)
   ============================================================================ */
.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 18px 36px -16px rgba(3, 41, 5, 0.32); /* forest-tinted lift */
  }
}
.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); color: var(--accent-contrast); }
}
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--accent); border-color: var(--accent); }
}

/* Image inside a fixed frame — zoom the image, clip the box so neighbours don't shift. */
.media { overflow: hidden; border-radius: var(--radius-md); }
.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); } }

/* ============================================================================
   CARDS / TILES — uniform radius on all 4 corners + scalloped hedge-crown top accent.
   ============================================================================ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white, #ffffff);
  color: var(--ink);
  border: var(--border-width, 1px) solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
/* signature: the topiary canopy's clipped scalloped crown, in leaf-green, along the card top */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: var(--accent);
  -webkit-mask: radial-gradient(9px 7px at 9px 7px, transparent 7px, #000 7.4px) repeat-x 0 0 / 18px 7px;
          mask: radial-gradient(9px 7px at 9px 7px, transparent 7px, #000 7.4px) repeat-x 0 0 / 18px 7px;
  z-index: 2;
  pointer-events: none;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -26px rgba(3, 41, 5, 0.45); }
  .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(--accent); outline-offset: 2px; }

/* .card is PADLESS so flush media reaches its edges. Text goes in this padded inner wrapper. */
.card-body {
  padding: 24px var(--padding-horizontal, 24px);
  font-family: var(--font-body, system-ui, sans-serif);
  color: var(--ink);
}
.card-body :where(p) { color: var(--ink-soft); }

/* ============================================================================
   INPUTS
   ============================================================================ */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: var(--border-width, 1px) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white, #ffffff);
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--ink-soft); }
.field:hover { border-color: var(--accent-soft); }
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field:disabled { opacity: 0.55; cursor: not-allowed; color: var(--ink-soft); }
.field:user-invalid { border-color: #c0392b; }

/* ============================================================================
   CONTENT ICONS (monochrome, recolorable) — steer paint ONLY via --icon-color.
   ============================================================================ */
.svc-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--icon-color, var(--accent));
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}
/* recolor per band by SETTING --icon-color (dark/accent tile → light icon; light surface → accent) */

/* ============================================================================
   STEP NUMBER BADGE — grid centring, uniform digits, optical trim.
   ============================================================================ */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-heading, var(--font-body));
}
.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;
}

/* ============================================================================
   BRAND ORNAMENTS — the approved brand elements, reusable (weave sparingly).
   ============================================================================ */
/* Leaf-cut photo frame — the approved brand element's asymmetric leaf radius + green shadow. */
.leaf-frame {
  border-radius: 14px 34% 14px 34% / 14px 60% 14px 60%;
  overflow: hidden;
  box-shadow: 0 22px 44px -26px rgba(3, 41, 5, 0.45);
}
.leaf-frame img { display: block; width: 100%; height: 100%; object-fit: cover;
                  transition: transform 400ms ease; }
@media (hover: hover) { .leaf-frame:hover img { transform: scale(1.05); } }

/* Scalloped hedge-crown strip — the topiary canopy's clipped edge, as a reusable divider/accent. */
.hedge-crown {
  height: 12px;
  background: var(--accent);
  -webkit-mask: radial-gradient(11px 12px at 11px 12px, transparent 9.5px, #000 10px) repeat-x 0 0 / 22px 12px;
          mask: radial-gradient(11px 12px at 11px 12px, transparent 9.5px, #000 10px) repeat-x 0 0 / 22px 12px;
}

/* Leaf divider — thin leaf-green line with an optional central leaf (the heading-divider element).
   Add <span class="leaf-divider-mark"></span> as the child for the central leaf. */
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.leaf-divider::before,
.leaf-divider::after {
  content: "";
  height: 2px;
  flex: 1 1 auto;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--accent));
}
.leaf-divider::after { background: linear-gradient(90deg, var(--accent), transparent); }
.leaf-divider-mark {
  width: 22px; height: 22px; flex: 0 0 auto;
  background-color: var(--accent);
  -webkit-mask: var(--leaf-mask) center / contain no-repeat;
          mask: var(--leaf-mask) center / contain no-repeat;
}

/* ============================================================================
   MISSING-DATA PLACEHOLDER — one shared look for un-filled dashboard values.
   ============================================================================ */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
  color: var(--ink-soft);
}

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