/*
 * AUTO-GENERATED FILE. DO NOT EDIT DIRECTLY.
 * Source of truth: frontend/assets/css/** and scripts/build-css.mjs
 */
/* === BEGIN: tokens.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Design Tokens
   Centrálne CSS custom properties pre celý web.
   Zdroj: 16_farby_a_vizualny_ton.md + 03_ui_system_2026.md
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── Farby ─────────────────────────────── */
  --color-primary: #4b8a5d;
  --color-primary-strong: #3f7a50;
  --color-primary-light: #6da97e;
  --color-accent: #b78642;
  --color-accent-light: #dab06a;

  --color-bg: #f8f7f3;
  --color-surface: #ffffff;
  --color-surface-soft: #eef3ed;
  --color-surface-dark: #253f2e;
  --color-surface-glass: rgba(255, 255, 255, 0.7);
  --color-surface-glass-strong: rgba(255, 255, 255, 0.82);
  --color-border-glass: rgba(192, 213, 186, 0.42);

  --color-text: #1f2a21;
  --color-text-muted: #5f6f61;
  --color-text-inverse: #ffffff;
  --color-text-link: #3f7a50;

  --color-border: #d8e0d0;
  --color-border-strong: #bccab2;

  --color-success: #3f7a50;
  --color-error: #c0392b;
  --color-error-bg: #fdf0ee;

  /* ── Typografia ────────────────────────── */
  --font-heading: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Trebuchet MS", sans-serif;

  --text-base: clamp(1rem, 0.25vw + 0.95rem, 1.125rem);
  --text-sm: clamp(0.875rem, 0.18vw + 0.82rem, 1rem);
  --text-xs: clamp(0.75rem, 0.12vw + 0.72rem, 0.875rem);
  --text-lg: clamp(1.1rem, 0.38vw + 1rem, 1.45rem);

  --leading-tight: 1.15;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* ── Spacing ───────────────────────────── */
  --space-1: 0.5rem;    /* 8px */
  --space-2: 0.75rem;   /* 12px */
  --space-3: 1rem;      /* 16px */
  --space-4: 1.5rem;    /* 24px */
  --space-5: 2rem;      /* 32px */
  --space-6: 3rem;      /* 48px */
  --space-7: 4.5rem;    /* 72px */
  --space-8: 6rem;      /* 96px */

  /* ── Radii ─────────────────────────────── */
  --radius-sm: 0.5rem;   /* 8px */
  --radius-md: 1rem;     /* 16px */
  --radius-lg: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* ── Shadows ───────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(22, 36, 22, 0.05), 0 4px 12px rgba(22, 36, 22, 0.03);
  --shadow-md: 0 4px 16px rgba(22, 36, 22, 0.07), 0 12px 32px rgba(22, 36, 22, 0.05);
  --shadow-lg: 0 8px 24px rgba(22, 36, 22, 0.08), 0 20px 48px rgba(22, 36, 22, 0.06);
  --shadow-luxury: 0 10px 30px rgba(16, 32, 22, 0.08), 0 24px 54px rgba(16, 32, 22, 0.05);
  --shadow-soft-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --shadow-focus: 0 0 0 3px rgba(63, 122, 80, 0.25);

  /* ── Motion ────────────────────────────── */
  --motion-micro: 140ms;
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-reveal: 360ms;
  --motion-slow: 420ms;
  --motion-cta-hover: 180ms;
  --motion-cta-press: 120ms;
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-emphasis: cubic-bezier(0.3, 0, 0, 1);
  --cta-lift-y: -1px;
  --cta-press-scale: 0.985;
  --cta-glow-alpha: 0.22;
  --cta-attention-duration: 900ms;
  --reveal-anchor-distance: 10px;
  --reveal-anchor-duration: 420ms;
  --reveal-anchor-step: 70ms;
  --reveal-anchor-max-delay: 140ms;
  --reveal-content-distance: 12px;
  --reveal-content-duration: 360ms;
  --reveal-content-step: 60ms;
  --reveal-content-max-delay: 360ms;
  --reveal-detail-distance: 8px;
  --reveal-detail-duration: 300ms;
  --reveal-detail-step: 45ms;
  --reveal-detail-max-delay: 180ms;

  /* ── Layout ────────────────────────────── */
  --container-max: 80rem;
  --container-narrow: 52rem;    /* 832px */
  --container-padding: clamp(1rem, 1.2vw, 1.75rem);
  --section-spacing: 6rem;

  /* ── Z-index ───────────────────────────── */
  --z-sticky: 100;
  --z-header: 200;
  --z-mobile-menu: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-cookie: 600;
}

/* ── Responsive token overrides ── */
@media (max-width: 768px) {
  :root {
    --section-spacing: 4.5rem;
    --container-padding: clamp(0.85rem, 3.4vw, 1rem);
    --motion-cta-hover: 165ms;
    --motion-cta-press: 110ms;
    --cta-press-scale: 0.978;
    --cta-glow-alpha: 0.2;
    --cta-attention-duration: 760ms;
    --reveal-anchor-distance: 8px;
    --reveal-anchor-duration: 360ms;
    --reveal-anchor-step: 55ms;
    --reveal-anchor-max-delay: 120ms;
    --reveal-content-distance: 10px;
    --reveal-content-duration: 300ms;
    --reveal-content-step: 45ms;
    --reveal-content-max-delay: 280ms;
    --reveal-detail-distance: 6px;
    --reveal-detail-duration: 250ms;
    --reveal-detail-step: 35ms;
    --reveal-detail-max-delay: 140ms;
  }
}

@media (max-width: 480px) {
  :root {
    --section-spacing: 3.5rem;
    --motion-cta-hover: 155ms;
    --motion-cta-press: 95ms;
    --cta-press-scale: 0.972;
    --cta-attention-duration: 680ms;
    --reveal-anchor-step: 50ms;
    --reveal-content-step: 40ms;
    --reveal-content-max-delay: 240ms;
    --reveal-detail-step: 30ms;
    --reveal-detail-max-delay: 120ms;
  }
}
/* === END: tokens.css === */

/* === BEGIN: reset.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Modern CSS Reset
   Normalizuje správanie prehliadačov pre konzistentný základ.
   ═══════════════════════════════════════════════════════ */

/* Box model pre všetko */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Body defaults */
body {
  min-height: 100vh;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form elements inherit fonts */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Textarea without resize unless needed */
textarea {
  resize: vertical;
}

/* Anchor defaults */
a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

/* Heading wrap */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Paragraph wrap */
p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* List styling reset */
ul[role="list"],
ol[role="list"],
ul[class],
ol[class] {
  list-style: none;
}

/* Button reset */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Table reset */
table {
  border-collapse: collapse;
}

/* Remove animations for people who prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hidden attribute support */
[hidden] {
  display: none !important;
}
/* === END: reset.css === */

/* === BEGIN: fonts.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Font Face Declarations
   Lokálne self-hosted fonty (woff2) pre výkon.
   Fonty: Manrope 700/800, Source Sans 3 400/600
   ═══════════════════════════════════════════════════════ */

/* ── Manrope (Nadpisy) ─────────────────── */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-v15-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+0100-024F; /* Latin + Latin Extended */
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-v15-latin-ext-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+0100-024F;
}

/* ── Source Sans 3 (Body text) ─────────── */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-v10-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+0100-024F;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-v10-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+0100-024F;
}
/* === END: fonts.css === */

/* === BEGIN: base.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Base Styles
   Globálne štýly pre HTML elementy (nie triedy).
   ═══════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Nadpisy ─────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.625rem);
}

h4 {
  font-size: clamp(1.125rem, 1.5vw + 0.125rem, 1.375rem);
}

/* ── Body text ───────────────────────────── */

p {
  max-width: 66ch;
  margin-bottom: var(--space-3);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

small {
  font-size: var(--text-sm);
}

/* ── Links ───────────────────────────────── */

a {
  color: var(--color-text-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color var(--motion-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-strong);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Lists ───────────────────────────────── */

ul, ol {
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

li {
  margin-bottom: var(--space-1);
}

li::marker {
  color: var(--color-primary);
}

/* ── Images ──────────────────────────────── */

img {
  border-radius: var(--radius-sm);
}

/* ── Touch optimization ──────────────────── */

a,
button,
input[type="submit"],
select {
  touch-action: manipulation;
}

/* ── Horizontal Rule ─────────────────────── */

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-5) 0;
}

/* ── Selection ───────────────────────────── */

::selection {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ── Focus visible (globálny fallback) ──── */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Scrollbar (desktop) ─────────────────── */

html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #5f9f71 #1f3627;
  overflow-x: clip;
}

@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  ::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1d3325 0%, #274531 100%);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #74b787 0%, #4f8f62 100%);
    border-radius: 999px;
    border: 2px solid #1f3627;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #86c998 0%, #5a9f6d 100%);
  }
}
/* === END: base.css === */

/* === BEGIN: layout.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Layout Utilities
   Container, grid, section spacing, flow.
   ═══════════════════════════════════════════════════════ */

/* ── Container ───────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── Section spacing ─────────────────────── */

.section {
  padding-block: var(--section-spacing);
}

.section--tight {
  padding-block: var(--space-6);
}

.section--flush {
  padding-block: 0;
}

/* ── Section backgrounds ─────────────────── */

.section--surface {
  background-color: var(--color-surface);
}

.section--soft {
  background-color: var(--color-surface-soft);
}

.section--dark {
  background-color: var(--color-surface-dark);
  color: var(--color-text-inverse);
}

/* ── Section header (centered) ───────────── */

.section__header {
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.section__eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.section__title {
  margin-bottom: var(--space-3);
}

.section__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

/* ── Grid system ─────────────────────────── */

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .section__header {
    margin-bottom: var(--space-4);
  }

  .section__eyebrow {
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
  }

  .section__lead {
    font-size: var(--text-base);
  }

  .section--tight {
    padding-block: var(--space-5);
  }
}

/* ── Flex helpers ─────────────────────────── */

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
  align-items: center;
}

.flex--gap-sm {
  gap: var(--space-2);
}

.flex--gap {
  gap: var(--space-4);
}

.flex--wrap {
  flex-wrap: wrap;
}

/* ── Flow (vertical spacing pre children) ── */

.flow > * + * {
  margin-top: var(--space-4);
}

.flow--sm > * + * {
  margin-top: var(--space-2);
}

.flow--lg > * + * {
  margin-top: var(--space-6);
}
/* === END: layout.css === */

/* === BEGIN: components/skip-link.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Skip Link (Accessibility)
   ═══════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-3);
  z-index: var(--z-modal);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top var(--motion-fast) var(--ease-standard);
}

.skip-link:focus {
  top: 0;
}
/* === END: components/skip-link.css === */

/* === BEGIN: components/topbar.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Topbar
   Kontaktný pruh nad headerom: telefón, email, lokalita.
   ═══════════════════════════════════════════════════════ */

.topbar {
  background: linear-gradient(90deg, #356746 0%, #427a53 100%);
  --topbar-shimmer-base: rgba(236, 246, 238, 0.84);
  --topbar-shimmer-highlight: rgba(255, 255, 255, 0.98);
  --topbar-shimmer-spread: 26px;
  --topbar-shimmer-duration: 8s;
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 0.14vw + 0.86rem, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-block: var(--space-1);
  border-bottom: 1px solid rgba(196, 219, 184, 0.2);
}

.topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
  color: transparent;
  opacity: 0.94;
  transform: none;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) calc(50% - var(--topbar-shimmer-spread)),
      var(--topbar-shimmer-highlight) 50%,
      rgba(255, 255, 255, 0) calc(50% + var(--topbar-shimmer-spread))
    ),
    linear-gradient(var(--topbar-shimmer-base), var(--topbar-shimmer-base));
  background-size: 250% 100%, auto;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: topbar-text-shimmer var(--topbar-shimmer-duration) linear infinite;
  transition: opacity var(--motion-micro) var(--ease-standard), color var(--motion-micro) var(--ease-standard);
}

.topbar__item:nth-child(2) {
  animation-delay: 2.4s;
}

@keyframes topbar-text-shimmer {
  from {
    background-position: 100% center, 0 0;
  }

  to {
    background-position: 0% center, 0 0;
  }
}

.topbar__item:hover {
  opacity: 1;
}

.topbar__item:focus-visible {
  outline-color: var(--color-accent);
}

.topbar__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: rgba(247, 252, 248, 0.96);
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .topbar__item {
    opacity: 0.95;
    animation: none;
    background-position: 48% center, 0 0;
  }
}

@media (max-width: 600px) {
  .topbar__inner {
    justify-content: center;
    gap: var(--space-3);
  }

  .topbar__item--location {
    display: none;
  }
}

@media (max-width: 380px) {
  .topbar {
    font-size: 0.84rem;
    padding-block: 4px;
  }

  .topbar__inner {
    gap: var(--space-2);
  }

  .topbar__icon {
    width: 14px;
    height: 14px;
  }
}
/* === END: components/topbar.css === */

/* === BEGIN: components/header.css === */
/* Header + Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: rgba(22, 39, 30, 0.78);
  backdrop-filter: blur(10px) saturate(128%);
  -webkit-backdrop-filter: blur(10px) saturate(128%);
  border-bottom: 1px solid var(--color-border-glass);
  box-shadow: var(--shadow-soft-inset);
  transition:
    box-shadow var(--motion-base) var(--ease-standard),
    background-color var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard);
}

.header.is-scrolled {
  box-shadow: 0 6px 22px rgba(13, 24, 17, 0.2);
  background-color: rgba(25, 44, 33, 0.92);
  border-bottom-color: rgba(206, 223, 200, 0.34);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  min-height: 82px;
  transition: min-height var(--motion-base) var(--ease-standard);
}

.header.is-scrolled .header__inner {
  min-height: 72px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  width: 62px;
  height: 82px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transform: translateY(4px);
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #f1ebe0;
  line-height: 1;
}

.header__nav {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-self: center;
  margin: 0;
  padding-top: 0;
}

.header__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 42px;
}

.header__list > li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1;
  color: rgba(234, 244, 236, 0.86);
  background-color: transparent;
  transition:
    color var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard);
}

.header__link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 5px;
  height: 1px;
  background-color: rgba(206, 231, 201, 0.92);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-fast) var(--ease-standard);
}

.header__link:hover {
  color: #f8fdf9;
  background-color: rgba(103, 158, 112, 0.12);
  border-color: rgba(175, 214, 162, 0.2);
}

.header__link:hover::after {
  transform: scaleX(1);
}

.header__link:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.header__link[aria-current="page"] {
  color: #f3fcf5;
  background-color: transparent;
  border-color: transparent;
}

.header__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__link--cta {
  margin-left: var(--space-1);
}

.header__link--cta-soft {
  color: #e9f9ec;
  background-color: rgba(90, 149, 100, 0.22);
  border-color: rgba(156, 197, 147, 0.56);
}

.header__link--cta-soft:hover {
  color: #f6fff7;
  background-color: rgba(104, 166, 114, 0.32);
  border-color: rgba(186, 222, 176, 0.72);
}

.header__link--cta::after,
.header__link--cta-soft::after {
  display: none;
}

.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 0;
  appearance: none;
  border: 1px solid rgba(174, 203, 161, 0.45);
  border-radius: 10px;
  background-color: rgba(82, 128, 89, 0.28);
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard);
}

.header__toggle:hover {
  background-color: rgba(96, 146, 104, 0.34);
  border-color: rgba(193, 221, 182, 0.56);
}

.header__toggle:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.header__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: #e7f1e9;
  transition: transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__overlay {
  display: none;
}

@media (min-width: 1221px) {
  .header__nav {
    transform: translateX(clamp(-52px, -3.3vw, -24px));
  }
}

@media (max-width: 1280px) {
  .header__logo-text {
    font-size: 1.68rem;
  }

  .header__list {
    gap: 4px;
  }

  .header__link {
    padding-inline: 9px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1220px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(24, 42, 30, 0.94);
  }

  .header__toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(84vw, 360px);
    height: 100dvh;
    max-height: 100dvh;
    padding: 84px var(--space-4) max(var(--space-4), env(safe-area-inset-bottom, 0px));
    background-color: rgba(22, 40, 29, 0.98);
    border-left: 1px solid rgba(170, 199, 156, 0.3);
    box-shadow: -10px 0 28px rgba(6, 12, 8, 0.34);
    transform: translateX(calc(100% + 2px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform var(--motion-base) var(--ease-emphasis),
      opacity var(--motion-fast) var(--ease-standard),
      visibility 0s linear var(--motion-base);
    z-index: var(--z-mobile-menu);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin-left: 0;
    align-self: auto;
    align-items: flex-start;
  }

  .header__nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform var(--motion-base) var(--ease-emphasis),
      opacity var(--motion-fast) var(--ease-standard),
      visibility 0s linear 0s;
  }

  .header__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    min-height: 0;
    width: 100%;
  }

  .header__list > li {
    width: 100%;
  }

  .header__link {
    min-height: 46px;
    width: 100%;
    justify-content: flex-start;
    padding: var(--space-2) var(--space-3);
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 10px;
  }

  .header__link[aria-current="page"] {
    background-color: rgba(94, 153, 103, 0.16);
    border-color: rgba(174, 214, 164, 0.3);
  }

  .header__link::after {
    display: none;
  }

  .header__link--cta {
    margin-left: 0;
    margin-top: var(--space-2);
    justify-content: center;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(8, 14, 10, 0.44);
    opacity: 0;
    pointer-events: none;
    z-index: calc(var(--z-header) - 1);
    transition: opacity var(--motion-base) var(--ease-standard);
  }

  .header__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .header__inner {
    min-height: 74px;
  }

  .header__logo-img {
    width: 52px;
    height: 70px;
    transform: translateY(3px);
  }

  .header__logo-text {
    font-size: 1.58rem;
  }
}

@media (max-width: 380px) {
  .header__inner {
    min-height: 64px;
    padding-inline: var(--space-2);
  }

  .header__logo-img {
    width: 44px;
    height: 60px;
    transform: translateY(2px);
  }

  .header__logo-text {
    font-size: 1.34rem;
  }

  .header__toggle {
    width: 40px;
    height: 40px;
  }
}
/* === END: components/header.css === */

/* === BEGIN: components/buttons.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Buttons
   .btn-primary, .btn-secondary, .btn-ghost + stavy
   Min touch target: 44px
   ═══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  position: relative;
  min-height: clamp(42px, 2.4vw, 50px);
  padding: clamp(0.55rem, 0.5vw, 0.8rem) clamp(0.95rem, 1.1vw, 1.5rem);
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 0.18vw + 0.88rem, 1.02rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: calc(var(--radius-sm) + 2px);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--motion-cta-hover) var(--ease-standard),
    border-color var(--motion-cta-hover) var(--ease-standard),
    color var(--motion-cta-hover) var(--ease-standard),
    transform var(--motion-cta-hover) var(--ease-standard),
    box-shadow var(--motion-cta-hover) var(--ease-standard);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Primary ─────────────────────────── */

.btn--primary {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-strong) 100%);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: 0 1px 2px rgba(22, 39, 27, 0.12), 0 8px 18px rgba(32, 62, 41, 0.16);
}

.btn--primary:hover {
  background-color: var(--color-primary-strong);
  border-color: var(--color-primary-strong);
  color: var(--color-text-inverse);
  box-shadow: 0 2px 12px rgba(35, 64, 43, 0.2);
}

.btn--primary:active {
  color: var(--color-text-inverse);
  transform: translateY(0);
  box-shadow: 0 1px 5px rgba(35, 64, 43, 0.2);
}

/* Shine Effect (Micro-interaction) */
.btn--primary {
  overflow: hidden;
  /* Ensure shine stays inside */
  position: relative;
  /* Context for absolute positioning */
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  /* Wider shine */
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      /* Stronger opacity */
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 10;
  /* Ensure it's on top of background but click-through */
}

@keyframes btn-shine {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

.btn--primary.is-attention {
  animation: btn-attention-pulse var(--cta-attention-duration) var(--ease-reveal) 1;
}

@keyframes btn-attention-pulse {
  0% {
    box-shadow: 0 1px 2px rgba(22, 39, 27, 0.12), 0 8px 18px rgba(32, 62, 41, 0.16);
  }

  42% {
    box-shadow: 0 0 0 4px rgba(75, 138, 93, calc(var(--cta-glow-alpha) * 0.42)),
      0 0 0 10px rgba(75, 138, 93, calc(var(--cta-glow-alpha) * 0.18)),
      0 14px 28px rgba(32, 62, 41, 0.2);
  }

  100% {
    box-shadow: 0 1px 2px rgba(22, 39, 27, 0.12), 0 8px 18px rgba(32, 62, 41, 0.16);
  }
}

/* ── Secondary ───────────────────────── */

.btn--secondary {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border-strong);
  box-shadow: 0 1px 2px rgba(17, 32, 22, 0.08);
}

.btn--secondary:hover {
  background-color: var(--color-surface-soft);
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
}

.btn--secondary:active {
  transform: translateY(0);
}

/* ── Ghost ───────────────────────────── */

.btn--ghost {
  background-color: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding-inline: var(--space-2);
}

.btn--ghost:hover {
  background-color: var(--color-surface-soft);
}

/* ── On dark background ──────────────── */

.btn--inverse {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-surface);
}

.btn--inverse:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover,
  .btn--secondary:hover,
  .btn--inverse:hover {
    transform: translateY(var(--cta-lift-y));
  }

  .btn--primary:hover {
    box-shadow: 0 2px 12px rgba(35, 64, 43, 0.2), 0 8px 22px rgba(35, 64, 43, 0.1);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn--primary:hover::after {
    animation: btn-shine 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media (pointer: coarse) {
  .btn:active {
    transform: scale(var(--cta-press-scale));
    transition-duration: var(--motion-cta-press);
  }

  .btn--primary:active {
    box-shadow: 0 1px 6px rgba(35, 64, 43, 0.24);
  }
}

/* ── Icon in button ──────────────────── */

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Size variant ────────────────────── */

.btn--lg {
  min-height: clamp(46px, 2.8vw, 58px);
  padding: clamp(0.68rem, 0.8vw, 1rem) clamp(1.2rem, 1.8vw, 2rem);
  font-size: clamp(1rem, 0.26vw + 0.95rem, 1.18rem);
}

/* ── Responsive ──────────────────────── */

@media (max-width: 480px) {
  .btn--lg {
    min-height: 48px;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }

  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::after {
    transition-duration: 0ms !important;
    animation: none !important;
  }
}
/* === END: components/buttons.css === */

/* === BEGIN: components/hero.css === */
/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-text-inverse);
  background-color: var(--color-surface-dark);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  will-change: background-position;
  /* Optimize for parallax */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(132deg, rgba(14, 31, 22, 0.62), rgba(25, 53, 37, 0.48) 56%, rgba(42, 82, 58, 0.3));
  z-index: -1;
}

.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  will-change: transform;
  /* Optimize for parallax content shift */
}

.hero--home .hero__inner {
  min-height: calc(100svh - 124px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--service .hero__inner {
  min-height: clamp(360px, 50vh, 500px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--service {
  --hero-service-base-start: #1d3427;
  --hero-service-base-end: #335c43;
  --hero-service-radial-color: rgba(126, 175, 136, 0.24);
  --hero-service-radial-position: 80% 22%;
  --hero-service-noise-opacity: 0.06;
  --hero-service-title-max: clamp(14ch, 36vw, 18ch);
  --hero-service-title-size: clamp(2.35rem, 3.5vw, 4.1rem);
  --hero-service-lead-max: 46ch;
  --hero-service-lead-size: clamp(1.04rem, 0.55vw + 0.9rem, 1.3rem);
  background-image:
    radial-gradient(circle at var(--hero-service-radial-position),
      var(--hero-service-radial-color),
      transparent 48%),
    linear-gradient(140deg, var(--hero-service-base-start) 0%, var(--hero-service-base-end) 100%);
}

.hero--service .hero__title {
  max-width: var(--hero-service-title-max);
  font-size: var(--hero-service-title-size);
  line-height: 1.06;
  text-wrap: pretty;
}

.hero--service .hero__lead {
  max-width: var(--hero-service-lead-max);
  font-size: var(--hero-service-lead-size);
}

.hero--service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--hero-service-noise-opacity);
  background-image:
    repeating-linear-gradient(25deg,
      rgba(255, 255, 255, 0.12) 0px,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 4px),
    repeating-linear-gradient(155deg,
      rgba(0, 0, 0, 0.12) 0px,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 1px,
      transparent 5px);
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.3vw + 0.78rem, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #f2dbb8;
}

.hero__title {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: clamp(0.8rem, 1vw, 1.25rem);
  color: var(--color-text-inverse);
}

.hero--home .hero__title {
  max-width: clamp(15ch, 38vw, 20ch);
  font-size: clamp(3rem, 5.4vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 8px 28px rgba(10, 20, 14, 0.34);
  margin-bottom: clamp(1rem, 1.2vw, 1.5rem);
}

.hero--home .hero__lead {
  max-width: 52ch;
  font-size: clamp(1.08rem, 0.9vw + 0.92rem, 1.52rem);
  margin-bottom: clamp(1.45rem, 2.3vw, 2.7rem);
  color: rgba(247, 252, 248, 0.96);
  text-shadow: 0 6px 20px rgba(10, 19, 14, 0.28);
}

.hero__lead {
  max-width: 50ch;
  margin-bottom: clamp(1.25rem, 2vw, 2.25rem);
  font-size: clamp(1rem, 0.68vw + 0.92rem, 1.35rem);
  color: rgba(249, 253, 249, 0.95);
  text-wrap: pretty;
}

.hero__lead-main {
  display: block;
}

.hero__typewriter-line {
  display: block;
  min-height: 1.35em;
}

.hero--home .hero__typewriter-line {
  margin-top: 0.08em;
}

/* ── Typewriter Effect ── */
.hero__typewriter {
  font-weight: 600;
  color: #fff;
  border-right: 0.1em solid transparent;
  min-width: 1ch;
  display: inline-block;
  position: relative;
  /* Critical for ::after positioning */
}

.hero__typewriter.typing {
  color: #f2dbb8;
  /* Gold while typing */
  border-right-color: var(--color-primary-light);
  animation: cursor-blink 0.7s step-end infinite;
}

.hero__typewriter.done {
  color: #f2dbb8;
  /* Final gold color */
  border-right-color: transparent;
  text-shadow: 0 0 20px rgba(242, 219, 184, 0.25);
  /* Jemnejšia žiara, menej "neon" */
  position: relative;
}

/* Elegant Underline Animation */
.hero__typewriter.done::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  /* Bližšie k textu */
  height: 1.5px;
  /* Tenšia čiara */
  width: 100%;
  background: linear-gradient(90deg,
      rgba(242, 219, 184, 0) 0%,
      rgba(242, 219, 184, 0.5) 8%,
      /* Jemnejšia */
      rgba(242, 219, 184, 0.7) 50%,
      rgba(242, 219, 184, 0.5) 92%,
      rgba(242, 219, 184, 0) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  animation: draw-line 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes draw-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes cursor-blink {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: #f2dbb8
  }

  /* Zlatý kurzor počas písania */
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.65rem, 1vw, 1rem);
  margin-top: var(--space-1);
  justify-content: flex-start;
  align-items: center;
}

.hero__actions .btn {
  min-width: clamp(190px, 15vw, 290px);
}

.hero__actions .btn--primary {
  box-shadow: 0 8px 22px rgba(31, 69, 40, 0.24);
}

.hero__actions .btn--ghost {
  color: rgba(237, 247, 239, 0.92);
  border: 1px solid rgba(191, 221, 183, 0.64);
  background-color: rgba(31, 58, 37, 0.3);
  padding-inline: var(--space-4);
}

.hero__actions .btn--ghost:hover {
  color: #fff;
  background-color: rgba(106, 163, 116, 0.28);
  border-color: rgba(203, 230, 193, 0.84);
}

/* ── Hero background variants ─────────────
   Decorative background images with gradient overlays.
   Using backgound.jpg for visual impact.
   ─────────────────────────────────────────── */

.hero--home {
  background-image: url("/assets/img/hero/hero-home-photo-1920.jpg");
  background-image: image-set(url("/assets/img/hero/hero-home-photo-1280.webp") 1x,
      url("/assets/img/hero/hero-home-photo-1920.webp") 2x,
      url("/assets/img/hero/hero-home-photo-1280.jpg") 1x,
      url("/assets/img/hero/hero-home-photo-1920.jpg") 2x);
  background-position: center 52%;
}

@media (min-width: 1600px) {
  .hero--home {
    background-image: url("/assets/img/hero/hero-home-photo-2560.jpg");
    background-image: image-set(url("/assets/img/hero/hero-home-photo-2560.webp") 1x,
        url("/assets/img/hero/hero-home-photo-2560.jpg") 1x);
  }
}

@media (min-width: 1366px) {
  .hero--home .hero__title {
    max-width: 18ch;
  }
}

@media (min-width: 1920px) {
  .hero--home .hero__title {
    max-width: 19ch;
  }
}

@media (min-width: 2500px) {
  .hero--home {
    background-image: url("/assets/img/hero/hero-home-photo-3840.jpg");
    background-image: image-set(url("/assets/img/hero/hero-home-photo-3840.webp") 1x,
        url("/assets/img/hero/hero-home-photo-3840.jpg") 1x);
  }

  .hero--home .hero__title {
    max-width: 20ch;
  }
}

/* Enhanced overlay for photo visibility */
.hero--home::before {
  background:
    linear-gradient(128deg, rgba(12, 30, 22, 0.7), rgba(23, 50, 35, 0.56) 54%, rgba(36, 70, 50, 0.3));
}

.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 38%),
    linear-gradient(0deg, rgba(9, 18, 13, 0.24), rgba(9, 18, 13, 0));
}

.hero--realizacie {
  --hero-service-base-start: #1b3226;
  --hero-service-base-end: #315a42;
  --hero-service-radial-color: rgba(164, 201, 171, 0.24);
  --hero-service-radial-position: 85% 25%;
  /* Presunuté doprava */
  --hero-service-title-max: clamp(11ch, 28vw, 14ch);
  --hero-service-lead-max: 48ch;
}

.hero--kontakt {
  --hero-service-base-start: #203429;
  --hero-service-base-end: #385645;
  --hero-service-radial-color: rgba(181, 214, 188, 0.22);
  --hero-service-radial-position: 85% 24%;
  /* Presunuté doprava */
}

.hero--zavlaha {
  --hero-service-base-start: #173327;
  --hero-service-base-end: #29604a;
  --hero-service-radial-color: rgba(147, 197, 164, 0.26);
  --hero-service-radial-position: 82% 20%;
  /* Presunuté doprava */
}

.hero--travniky {
  --hero-service-base-start: #1a3526;
  --hero-service-base-end: #2f6240;
  --hero-service-radial-color: rgba(170, 212, 156, 0.24);
  --hero-service-radial-position: 85% 18%;
  /* Už je vpravo, OK */
}

.hero--uprava-pozemkov {
  --hero-service-base-start: #202f24;
  --hero-service-base-end: #395645;
  --hero-service-radial-color: rgba(108, 152, 116, 0.2);
  --hero-service-radial-position: 78% 70%;
  /* Už je vpravo, OK */
}

.hero--stavebne-prace {
  --hero-service-base-start: #2a3028;
  --hero-service-base-end: #4b5548;
  --hero-service-radial-color: rgba(182, 152, 116, 0.2);
  --hero-service-radial-position: 80% 50%;
  /* Presunuté doprava */
}

.hero--zamkove-dlazby {
  --hero-service-base-start: #2a2f2f;
  --hero-service-base-end: #4b5555;
  --hero-service-radial-color: rgba(196, 144, 71, 0.2);
  --hero-service-radial-position: 88% 30%;
  /* Presunuté doprava */
}

/* Abstract Topographic (Vrstevnice) Background Effect */
.hero--service {
  position: relative;
  overflow: hidden;
}

.hero--service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  /* Start from center */
  right: 0;
  /* Extend to right edge */
  height: 100%;
  /* SVG with mirrored paths - curves now flow right-to-left in SVG space, appearing on right side of page */
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='2' opacity='0.15'%3E%3Cpath d='M0 100C200 50 350 250 550 150C750 50 800 200 800 200'/%3E%3Cpath d='M0 250C150 200 300 400 500 300C700 200 800 350 800 350'/%3E%3Cpath d='M0 400C200 350 300 550 500 450C700 350 800 500 800 500'/%3E%3Cpath d='M0 550C150 500 300 700 500 600C700 500 800 650 800 650'/%3E%3Cpath d='M0 700C200 650 350 850 550 750C750 650 800 800 800 800'/%3E%3Cpath d='M0 -50C200 -100 350 100 550 0C750 -100 800 50 800 50'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
  /* Liquid Effect */
  filter: url('#liquid-flow');
  /* Fallback animation is still good to have, kept subtle */
  will-change: transform, opacity;
  animation: topo-drift 60s ease-in-out infinite alternate;
}

@keyframes topo-drift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(-2%, -3%) rotate(0.5deg) scale(1.02);
    /* Very subtle drift */
    opacity: 0.8;
  }
}

@media (max-width: 900px) {
  .hero__title {
    max-width: 15ch;
  }

  .hero--home .hero__title {
    max-width: 15ch;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding-block: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero--home .hero__inner {
    min-height: 640px;
  }

  .hero__actions {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero--home {
    background-position: center 44%;
  }

  .hero--home .hero__title {
    font-size: clamp(2.3rem, 7.2vw, 3.3rem);
    line-height: 1.04;
  }

  .hero--home .hero__lead {
    font-size: clamp(1rem, 1.2vw + 0.95rem, 1.2rem);
    max-width: 40ch;
  }

  .hero--home .hero__typewriter-line {
    min-height: 2.5em;
  }

}

@media (max-width: 480px) {
  .hero__inner {
    padding-block: var(--space-5);
  }

  .hero--home .hero__inner {
    min-height: 560px;
  }

  .hero--service .hero__inner {
    min-height: clamp(300px, 46vh, 420px);
  }

  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .hero__title {
    font-size: clamp(1.8rem, 8.2vw, 2.45rem);
    max-width: 12.5ch;
  }

  .hero--home .hero__title {
    max-width: 12.5ch;
    font-size: clamp(2.05rem, 8.8vw, 2.9rem);
  }

  .hero--service .hero__title {
    max-width: 14ch;
    font-size: clamp(1.95rem, 7.2vw, 2.7rem);
  }

  .hero__lead {
    font-size: 1rem;
    margin-bottom: var(--space-4);
  }

  .hero--home .hero__lead {
    font-size: 1.06rem;
    max-width: 32ch;
  }

  .hero--home .hero__typewriter-line {
    min-height: 2.9em;
  }
}
/* === END: components/hero.css === */

/* === BEGIN: components/service-card.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Service Card
   Karta služby s ikonou, nadpisom, popisom a CTA linkom.
   Grid: 4→2→1 col responsive.
   ═══════════════════════════════════════════════════════ */

.service-card {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 246, 0.9));
  border: 1px solid rgba(124, 160, 123, 0.22);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm), var(--shadow-soft-inset);
  transition:
    border-color var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    transform var(--motion-micro) var(--ease-standard);
}

.service-card:focus-within {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

/* ── Icon ─────────────────────────────── */

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(238, 243, 237, 0.94), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(124, 160, 123, 0.24);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Content ─────────────────────────── */

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

/* ── List inside card ────────────────── */

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}

.service-card__list li {
  position: relative;
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

/* ── Link ────────────────────────────── */

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
}

.service-card__link:hover {
  color: var(--color-primary-strong);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  opacity: 0.86;
  transition: transform var(--motion-micro) var(--ease-standard), opacity var(--motion-micro) var(--ease-standard);
}

.service-card:focus-within .service-card__link svg {
  transform: translateX(1px);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__link svg {
    transform: translateX(2px);
    opacity: 1;
  }
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .service-card {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }

  .service-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: var(--space-3);
  }

  .service-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .service-card__title {
    font-size: 1.05rem;
  }

  .service-card:hover {
    transform: none;
  }
}
/* === END: components/service-card.css === */

/* === BEGIN: components/services-stack.css === */
/* Services Stack Spotlight (homepage services) */

.services-stack {
  --services-progress: 20%;
  position: relative;
  isolation: isolate;
}

.services-stack::before {
  content: "";
  position: absolute;
  inset: auto 8% calc(100% - 24px) 8%;
  height: clamp(68px, 10vw, 116px);
  background:
    radial-gradient(52% 95% at 50% 100%, rgba(75, 138, 93, 0.18) 0%, rgba(75, 138, 93, 0) 78%),
    radial-gradient(38% 72% at 32% 84%, rgba(183, 134, 66, 0.12) 0%, rgba(183, 134, 66, 0) 80%);
  pointer-events: none;
  z-index: 0;
}

.services-stack__track {
  gap: var(--space-4);
}

.services-stack__controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 160, 123, 0.26);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(239, 245, 239, 0.82));
  box-shadow: var(--shadow-sm);
  width: fit-content;
  margin-inline: auto;
  transition:
    border-color var(--motion-cta-hover) var(--ease-standard),
    background-color var(--motion-cta-hover) var(--ease-standard),
    box-shadow var(--motion-cta-hover) var(--ease-standard);
}

.services-stack__button {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 160, 123, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 239, 0.9));
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color var(--motion-cta-hover) var(--ease-standard),
    background-color var(--motion-cta-hover) var(--ease-standard),
    transform var(--motion-cta-hover) var(--ease-standard),
    box-shadow var(--motion-cta-hover) var(--ease-standard);
}

.services-stack__button:hover {
  border-color: rgba(90, 145, 98, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(229, 240, 230, 0.95));
  transform: translateY(var(--cta-lift-y));
}

.services-stack__button:active {
  transform: translateY(0) scale(var(--cta-press-scale));
  transition-duration: var(--motion-cta-press);
}

.services-stack__button:focus-visible,
.services-stack__dot:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.services-stack__dots {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 14px;
}

.services-stack__dots::before,
.services-stack__dots::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
}

.services-stack__dots::before {
  background-color: rgba(75, 138, 93, 0.2);
}

.services-stack__dots::after {
  width: var(--services-progress);
  right: auto;
  background: linear-gradient(90deg, rgba(75, 138, 93, 0.86), rgba(183, 134, 66, 0.82));
  transition: width var(--motion-base) var(--ease-reveal);
}

.services-stack__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(75, 138, 93, 0.28);
  cursor: pointer;
  transition:
    background-color var(--motion-cta-hover) var(--ease-standard),
    transform var(--motion-cta-hover) var(--ease-standard),
    box-shadow var(--motion-cta-hover) var(--ease-standard);
}

.services-stack__dot:hover {
  background-color: rgba(75, 138, 93, 0.58);
  transform: scale(1.05);
}

.services-stack__dot.is-active {
  background-color: rgba(75, 138, 93, 0.95);
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(75, 138, 93, 0.2);
}

.services-stack__dot:active {
  transform: scale(var(--cta-press-scale));
  transition-duration: var(--motion-cta-press);
}

@media (min-width: 1200px) {
  .services-stack {
    --services-stack-offset: clamp(170px, 12vw, 250px);
    --services-stack-far-offset: calc(var(--services-stack-offset) * 1.62);
    --services-stack-side-clip: 82%;
    max-width: min(1100px, 100%);
    margin-inline: auto;
  }

  .services-stack__track {
    position: relative;
    display: block;
    min-height: clamp(240px, 25vw, 334px);
    overflow: hidden;
    padding-inline: clamp(4px, 0.6vw, 10px);
    padding-block: 4px;
  }

  .services-stack__track::before,
  .services-stack__track::after {
    content: none;
    display: none;
  }

  .services-stack__card {
    position: absolute;
    top: 0;
    left: 50%;
    width: clamp(330px, 31vw, 450px);
    height: clamp(252px, 22vw, 314px);
    transform: translate3d(-50%, 14px, 0) scale(0.9);
    transform-origin: center top;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    clip-path: inset(0 0 0 0 round var(--radius-md));
    backface-visibility: hidden;
    transition:
      transform var(--motion-reveal) var(--ease-reveal),
      opacity var(--motion-base) var(--ease-standard),
      clip-path var(--motion-base) var(--ease-standard),
      box-shadow var(--motion-base) var(--ease-standard),
      border-color var(--motion-base) var(--ease-standard);
    will-change: transform, opacity;
  }

  .services-stack__card .service-card__title {
    font-size: clamp(1.18rem, 0.4vw + 1.06rem, 1.38rem);
    line-height: 1.22;
  }

  .services-stack__card .service-card__desc {
    font-size: clamp(1rem, 0.18vw + 0.95rem, 1.1rem);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    flex-grow: 1;
    margin-bottom: var(--space-3);
  }

  .services-stack__card .service-card__link {
    margin-top: auto;
    font-size: clamp(1rem, 0.12vw + 0.95rem, 1.08rem);
  }

  .services-stack__card .service-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-3);
  }

  .services-stack__card .service-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .services-stack__card.is-active {
    transform: translate3d(-50%, 0, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    box-shadow: var(--shadow-md), 0 16px 36px rgba(27, 53, 35, 0.14);
  }

  .services-stack__card.is-active .service-card__icon {
    border-color: rgba(75, 138, 93, 0.36);
    background: linear-gradient(145deg, rgba(232, 243, 234, 0.96), rgba(255, 255, 255, 0.96));
    box-shadow: 0 6px 16px rgba(30, 56, 37, 0.12);
  }

  .services-stack__card.is-prev {
    transform: translate3d(calc(-50% - var(--services-stack-offset)), 14px, 0) scale(0.92);
    opacity: 0.56;
    pointer-events: auto;
    z-index: 4;
    visibility: visible;
    clip-path: inset(0 0 0 0 round var(--radius-md));
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .services-stack__card.is-next {
    transform: translate3d(calc(-50% + var(--services-stack-offset)), 14px, 0) scale(0.92);
    opacity: 0.56;
    pointer-events: auto;
    z-index: 4;
    visibility: visible;
    clip-path: inset(0 0 0 0 round var(--radius-md));
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .services-stack__card.is-prev .service-card__icon,
  .services-stack__card.is-next .service-card__icon {
    background: transparent;
    border-color: rgba(124, 160, 123, 0.16);
    box-shadow: none;
  }

  .services-stack__card.is-far-prev {
    transform: translate3d(calc(-50% - var(--services-stack-far-offset)), 24px, 0) scale(0.84);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    visibility: hidden;
    box-shadow: none;
  }

  .services-stack__card.is-far-next {
    transform: translate3d(calc(-50% + var(--services-stack-far-offset)), 24px, 0) scale(0.84);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    visibility: hidden;
    box-shadow: none;
  }

  .services-stack__card.is-hidden {
    transform: translate3d(-50%, 26px, 0) scale(0.8);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    visibility: hidden;
    box-shadow: none;
  }

  .services-stack.is-transitioning .services-stack__card {
    transition-timing-function: var(--ease-reveal);
  }

  .services-stack__card .service-card__link::after {
    content: none;
  }
}

@media (max-width: 1199px) {
  .services-stack::before {
    inset: auto 4% calc(100% - 12px) 4%;
  }

  .services-stack__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .services-stack__controls {
    display: none;
  }

  .services-stack__card,
  .services-stack__card.is-active,
  .services-stack__card.is-prev,
  .services-stack__card.is-next,
  .services-stack__card.is-far-prev,
  .services-stack__card.is-far-next,
  .services-stack__card.is-hidden {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
    z-index: auto;
    filter: none;
  }
}

@media (max-width: 767px) {
  .services-stack__track {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-inline: var(--container-padding);
    margin-inline: calc(var(--container-padding) * -1);
    overscroll-behavior-x: contain;
  }

  .services-stack__track::-webkit-scrollbar {
    display: none;
  }

  .services-stack__card {
    flex: 0 0 min(88vw, 390px);
    scroll-snap-align: start;
  }
}

@media (pointer: coarse) {
  .services-stack__button:hover,
  .services-stack__dot:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-stack__button,
  .services-stack__dot,
  .services-stack__card,
  .services-stack__dots::after {
    transition: none;
  }
}
/* === END: components/services-stack.css === */

/* === BEGIN: components/process-steps.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Process Steps
   4-krokový proces spolupráce (Obhliadka → Návrh → Realizácia → Údržba).
   ═══════════════════════════════════════════════════════ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}

.process__step {
  position: relative;
  text-align: center;
  counter-increment: step;
}

.home-process.is-enhanced .process__step {
  opacity: 0.58;
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-base) var(--ease-standard);
}

.home-process.is-enhanced .process__step.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.home-process.is-enhanced .process__step.is-active .process__title {
  color: var(--color-primary-strong);
}

.home-process.is-enhanced .process__step.is-active .process__desc {
  color: var(--color-text);
}

/* ── Step number ─────────────────────── */

.process__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  background-color: var(--color-surface-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  transition:
    background-color var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard);
}

.process__step:hover .process__number {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.home-process.is-enhanced .process__step.is-active .process__number {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ── Connector line ──────────────────── */

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background-color: var(--color-border);
}

.home-process.is-enhanced .process__step:not(:last-child)::after {
  transform-origin: left center;
  transform: scaleX(0);
  transition:
    transform var(--motion-reveal) var(--ease-reveal),
    background-color var(--motion-base) var(--ease-standard);
}

.home-process.is-enhanced.is-drawn .process__step:not(:last-child)::after {
  transform: scaleX(1);
}

/* ── Text ────────────────────────────── */

.process__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.process__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 24ch;
  margin-inline: auto;
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .process {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    max-width: 360px;
    margin-inline: auto;
  }

  .process__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-3);
    text-align: left;
    align-items: start;
  }

  .home-process.is-enhanced .process__step {
    opacity: 0.68;
  }

  .home-process.is-enhanced .process__step.is-active {
    transform: none;
  }

  .process__number {
    margin: 0;
    grid-row: span 2;
  }

  .process__desc {
    margin-inline: 0;
    max-width: none;
  }

  .process__step:not(:last-child)::after {
    left: 28px;
    top: 64px;
    width: 2px;
    height: calc(100% - 16px);
  }

  .home-process.is-enhanced .process__step:not(:last-child)::after {
    transform-origin: center top;
    transform: scaleY(0);
  }

  .home-process.is-enhanced.is-drawn .process__step:not(:last-child)::after {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process.is-enhanced .process__step,
  .home-process.is-enhanced .process__step.is-active {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-process.is-enhanced .process__step:not(:last-child)::after,
  .home-process.is-enhanced.is-drawn .process__step:not(:last-child)::after {
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   Alternate class names (zamkové dlažby variant)
   process-steps / process-step / process-step__*
   ═══════════════════════════════════════════════════════ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  counter-increment: step;
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  background-color: var(--color-surface-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  transition:
    background-color var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard);
}

.process-step:hover .process-step__number {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background-color: var(--color-border);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 24ch;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    max-width: 360px;
    margin-inline: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-3);
    text-align: left;
    align-items: start;
  }

  .process-step__number {
    margin: 0;
    grid-row: span 2;
  }

  .process-step__desc {
    margin-inline: 0;
    max-width: none;
  }

  .process-step:not(:last-child)::after {
    left: 28px;
    top: 64px;
    width: 2px;
    height: calc(100% - 16px);
  }
}
/* === END: components/process-steps.css === */

/* === BEGIN: components/cta-band.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — CTA Band
   Konverzný pás pred footerom alebo medzi sekciami.
   Varianty: tmavý gradient (primárny), svetlý (sekundárny).
   ═══════════════════════════════════════════════════════ */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-7);
  text-align: center;
}

/* ── Dark variant (primárny) ─────────── */

.cta-band--dark {
  position: relative;
  background:
    linear-gradient(135deg, rgba(28, 56, 36, 0.9) 0%, rgba(47, 106, 63, 0.86) 100%),
    url("/assets/img/decor/backgound-1920.jpg") center/cover;
  background:
    linear-gradient(135deg, rgba(28, 56, 36, 0.9) 0%, rgba(47, 106, 63, 0.86) 100%),
    image-set(
      url("/assets/img/decor/backgound-1920.webp") 1x,
      url("/assets/img/decor/backgound-1920.jpg") 1x
    ) center/cover;
  color: var(--color-text-inverse);
}

.cta-band--dark::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  background:
    radial-gradient(34% 50% at 18% 62%, rgba(109, 169, 126, 0.2) 0%, rgba(109, 169, 126, 0) 72%),
    radial-gradient(30% 44% at 80% 22%, rgba(218, 176, 106, 0.14) 0%, rgba(218, 176, 106, 0) 70%);
  opacity: 0.82;
  pointer-events: none;
  animation: cta-band-ambient 11s ease-in-out infinite alternate;
}

.cta-band--dark .cta-band__title {
  color: var(--color-text-inverse);
  position: relative;
  z-index: 1;
}

.cta-band--dark .cta-band__desc {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* ── Light variant (sekundárny) ──────── */

.cta-band--light {
  background-color: var(--color-surface-soft);
}

/* ── Content ─────────────────────────── */

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-3);
}

.cta-band__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta-band__actions .btn {
  min-width: clamp(210px, 18vw, 250px);
}

@keyframes cta-band-ambient {
  0% {
    transform: translate3d(-1.2%, -1.4%, 0) scale(1);
    opacity: 0.74;
  }

  100% {
    transform: translate3d(1.4%, 1.1%, 0) scale(1.04);
    opacity: 0.92;
  }
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .cta-band {
    padding-block: var(--space-6);
  }

  .cta-band__desc {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .cta-band {
    padding-block: var(--space-5);
  }

  .cta-band__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-band__actions .btn {
    width: 100%;
    min-width: 0;
    max-width: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band--dark::before {
    animation: none;
    transform: none;
    opacity: 0.78;
  }
}
/* === END: components/cta-band.css === */

/* === BEGIN: components/quote-band.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Quote Band
   Inšpiratívny citát s dekoratívnym pozadím.
   ═══════════════════════════════════════════════════════ */

.quote-band {
  position: relative;
  padding: var(--space-8) var(--space-4);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Background with radial gradient overlay */
.quote-band__bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/decor/backgound-1280.jpg") center 45% / cover;
  background: image-set(
    url("/assets/img/decor/backgound-1280.webp") 1x,
    url("/assets/img/decor/backgound-1920.webp") 2x,
    url("/assets/img/decor/backgound-1280.jpg") 1x,
    url("/assets/img/decor/backgound-1920.jpg") 2x
  ) center 45% / cover;
  z-index: -2;
}

/* Radial gradient for text focus */
.quote-band__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at center,
    rgba(47, 106, 63, 0.1) 0%,
    rgba(28, 56, 36, 0.3) 60%,
    rgba(28, 45, 32, 0.5) 100%
  );
  z-index: -1;
}

/* Content wrapper */
.quote-band__inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

/* Quote text */
.quote-band__text {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw + 0.8rem, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-inverse);
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Decorative quotes */
.quote-band__text::before {
  content: '"';
  display: block;
  font-size: 3rem;
  line-height: 0.5;
  color: rgba(189, 135, 65, 0.6);
  margin-bottom: var(--space-2);
}

/* Attribution (optional) */
.quote-band__author {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Decorative accent line */
.quote-band__author::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-3) auto;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .quote-band {
    padding: var(--space-7) var(--space-3);
  }

  .quote-band__text::before {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .quote-band {
    padding: var(--space-6) var(--space-3);
  }

  .quote-band__text {
    font-size: 1.25rem;
  }
}
/* === END: components/quote-band.css === */

/* === BEGIN: components/section-divider.css === */
/* TreeFons - Section Divider */

.section-divider {
  position: relative;
  height: 180px;
  overflow: hidden;
  isolation: isolate;
}

/* Blurred background image */
.section-divider__bg {
  position: absolute;
  inset: -20px;
  background: url("/assets/img/decor/backgound-1280.jpg") center 40% / cover;
  background: image-set(
    url("/assets/img/decor/backgound-1280.webp") 1x,
    url("/assets/img/decor/backgound-1920.webp") 2x,
    url("/assets/img/decor/backgound-1280.jpg") 1x,
    url("/assets/img/decor/backgound-1920.jpg") 2x
  ) center 40% / cover;
  filter: blur(8px) brightness(0.7) saturate(0.9);
  transform: scale(1.15);
}

/* Gradient overlay for smooth transition */
.section-divider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.3) 80%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

/* Center content */
.section-divider__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon or decorative element */
.section-divider__icon {
  font-size: 2rem;
  opacity: 0.7;
}

/* Decorative line variant */
.section-divider--line .section-divider__content::before,
.section-divider--line .section-divider__content::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 106, 63, 0.3), transparent);
  margin: 0 var(--space-4);
}

/* Compact variant */
.section-divider--compact {
  height: 100px;
}

.section-divider--compact .section-divider__bg {
  filter: blur(8px) brightness(0.7) saturate(0.85);
}

/* Dark variant for dark sections */
.section-divider--dark .section-divider__overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 45, 32, 0.95) 0%,
    rgba(28, 45, 32, 0.4) 20%,
    rgba(28, 45, 32, 0.4) 80%,
    rgba(28, 45, 32, 0.95) 100%
  );
}

/* Responsive */
@media (max-width: 768px) {
  .section-divider {
    height: 140px;
  }

  .section-divider--compact {
    height: 80px;
  }

  .section-divider__bg {
    filter: blur(6px) brightness(0.62);
  }
}

@media (max-width: 480px) {
  .section-divider {
    height: 100px;
  }

  .section-divider--compact {
    height: 60px;
  }
}
/* === END: components/section-divider.css === */

/* === BEGIN: components/gallery.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Gallery
   Grid galérie pre realizácie. Filter, hover, lightbox wrapper.
   ═══════════════════════════════════════════════════════ */

/* ── Filter ──────────────────────────── */

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.gallery-filter__btn {
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color var(--motion-micro) var(--ease-standard),
    background-color var(--motion-micro) var(--ease-standard),
    border-color var(--motion-micro) var(--ease-standard);
}

.gallery-filter__btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.gallery-filter__btn.is-active {
  color: var(--color-text-inverse);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ── Grid ────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

/* ── Item ────────────────────────────── */

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item.reveal {
  --reveal-distance: 12px;
  --reveal-scale-start: 0.99;
  transform-origin: center 64%;
}

.gallery-item.reveal:nth-child(odd) {
  --reveal-x: -8px;
}

.gallery-item.reveal:nth-child(even) {
  --reveal-x: 8px;
}

.gallery-item:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--motion-base) var(--ease-standard);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* ── Hover overlay ───────────────────── */

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  background: linear-gradient(
    to top,
    rgba(23, 34, 23, 0.65) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease-standard);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-inverse);
}

.gallery-item__tag {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}

/* ── Hidden state for filter ─────────── */

.gallery-item[hidden] {
  display: none;
}

/* ── Lightbox ────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(24, 36, 24, 0.88);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-base) var(--ease-standard),
    visibility var(--motion-base) var(--ease-standard);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: background-color var(--motion-micro) var(--ease-standard);
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .gallery-filter {
    gap: var(--space-1);
  }

  .gallery-filter__btn {
    font-size: var(--text-xs);
    padding: 6px var(--space-2);
  }

  .gallery-item.reveal {
    --reveal-x: 0px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--space-1);
    margin-inline: calc(-1 * var(--container-padding));
    padding-inline: var(--container-padding);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filter::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter__btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .gallery-item__overlay {
    opacity: 1;
  }

  .lightbox__img {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: var(--radius-sm);
  }

  .lightbox__close {
    top: var(--space-2);
    right: var(--space-2);
  }
}
/* === END: components/gallery.css === */

/* === BEGIN: components/expanding-gallery.css === */
/* ═══════════════════════════════════════════════════════
   Expanding Gallery Component
   1:1 Port of Tailwind "Image Gallery" Component
   ═══════════════════════════════════════════════════════ */

.expanding-gallery {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* gap-2 */
    height: 400px;
    /* h-[400px] */
    width: 100%;
    padding-inline: 1rem;
    /* px-4 in container */
    /* max-w-5xl (approx 1024px) - optional depending on container */
}

.expanding-gallery__item {
    position: relative;
    /* flex-grow from 'flex-grow' class */
    flex-grow: 1;
    /* w-56 from 'w-56' class (14rem = 224px) */
    width: 14rem;
    height: 100%;
    border-radius: 0.5rem;
    /* rounded-lg */
    overflow: hidden;
    /* transition-all duration-500 */
    transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* No shadows, no borders, pure image */
}

/* hover:w-full */
.expanding-gallery__item:hover {
    width: 100%;
}

.expanding-gallery__item img {
    height: 100%;
    /* h-full */
    width: 100%;
    /* w-full */
    object-fit: cover;
    /* object-cover */
    object-position: center;
    /* object-center */
    /* No filters, no transforms, pure image */
}

/* Responsive fixes for mobile consistency */
@media (max-width: 768px) {
    .expanding-gallery {
        flex-direction: column;
        height: 600px;
        padding-inline: 0;
    }

    .expanding-gallery__item {
        width: 100%;
        height: 60px;
        /* arbitrary small height for non-active */
    }

    .expanding-gallery__item:hover {
        height: 100%;
    }
}
/* === END: components/expanding-gallery.css === */

/* === BEGIN: components/contact-card.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Contact Card
   Kontaktný blok (adresa, tel, email, mapa).
   ═══════════════════════════════════════════════════════ */

.contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.contact-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

/* ── Contact rows ────────────────────── */

.contact-card__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.contact-card__row:last-of-type {
  border-bottom: none;
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-card__value {
  font-weight: 600;
}

.contact-card__value a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-card__value a:hover {
  color: var(--color-primary);
}

/* Phone + QR */

.contact-card__row--phone {
  align-items: center;
}

.contact-card__phone-main {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-card__phone-qr {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-soft);
  text-decoration: none;
  color: var(--color-text-muted);
  transition: border-color var(--motion-base), transform var(--motion-base), box-shadow var(--motion-base);
}

.contact-card__phone-qr:hover {
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border));
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.contact-card__phone-qr img {
  width: calc(72px * 1.2);
  height: calc(72px * 1.2);
  display: block;
  border-radius: 6px;
  image-rendering: crisp-edges;
}

.contact-card__phone-qr-note {
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Map ─────────────────────────────── */

.contact-card__map {
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
}

.contact-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .contact-card {
    padding: var(--space-4);
  }

  .contact-card__phone-qr {
    padding: 6px;
    gap: 5px;
  }

  .contact-card__phone-qr img {
    width: calc(64px * 1.2);
    height: calc(64px * 1.2);
  }

  .contact-card__map {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: var(--space-3);
  }

  .contact-card__row {
    gap: var(--space-2);
    padding-block: var(--space-2);
  }

  .contact-card__icon {
    width: 36px;
    height: 36px;
  }

  .contact-card__row--phone {
    align-items: flex-start;
  }

  .contact-card__phone-qr {
    padding: 5px;
  }

  .contact-card__phone-qr img {
    width: calc(56px * 1.2);
    height: calc(56px * 1.2);
  }

  .contact-card__phone-qr-note {
    font-size: 0.65rem;
  }

  .contact-card__map {
    aspect-ratio: 1 / 1;
  }
}
/* === END: components/contact-card.css === */

/* === BEGIN: components/form.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Form
   Kontaktný formulár s validačnými stavmi a honeypotom.
   ═══════════════════════════════════════════════════════ */

.form {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.form__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

/* ── Field group ─────────────────────── */

.form__group {
  margin-bottom: var(--space-4);
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.form__label--required::after {
  content: " *";
  color: var(--color-error);
}

/* ── Inputs ──────────────────────────── */

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  min-height: 44px;
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23536253' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-6);
}

/* ── Validation states ───────────────── */

.form__group.is-error .form__input,
.form__group.is-error .form__select,
.form__group.is-error .form__textarea {
  border-color: var(--color-error);
}

.form__group.is-error .form__input:focus,
.form__group.is-error .form__select:focus,
.form__group.is-error .form__textarea:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2);
}

.form__error {
  display: none;
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form__group.is-error .form__error {
  display: block;
}

/* ── Checkbox (GDPR) ─────────────────── */

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form__checkbox-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.form__checkbox-text a {
  color: var(--color-primary);
}

/* ── Honeypot (skryté) ───────────────── */

.form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Submit area ─────────────────────── */

.form__submit {
  margin-top: var(--space-5);
}

/* ── Success / Error messages ────────── */

.form__message {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-4);
  display: none;
}

.form__message.is-visible {
  display: block;
}

.form__message--success {
  background-color: var(--color-surface-soft);
  color: var(--color-success);
  border: 1px solid var(--color-primary);
}

.form__message--error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

/* ── Two-column layout for fields ────── */

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  .form {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .form {
    padding: var(--space-3);
    border-radius: var(--radius-sm);
  }

  .form__title {
    font-size: 1.125rem;
  }

  .form__group {
    margin-bottom: var(--space-3);
  }

  .form__input,
  .form__select,
  .form__textarea {
    font-size: 1rem;
  }

  .form__submit {
    margin-top: var(--space-4);
  }

  .form__submit .btn {
    width: 100%;
  }
}
/* === END: components/form.css === */

/* === BEGIN: components/footer.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Footer (Premium Lockup)
   Tight, professional composition with strong hierarchy.
   ═══════════════════════════════════════════════════════ */

.footer {
  position: relative;
  overflow: hidden;
  background-color: #122014;
  /* Deep green gradient foundation */
  background-image:
    linear-gradient(180deg, rgba(18, 32, 20, 0.95) 0%, #0d160e 100%),
    url("/assets/img/decor/backgound-1920.webp");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-text-inverse);
  padding-block: var(--space-6) var(--space-4);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Subtle Corner Glow (Gold/Green) */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 0% 0%, rgba(183, 134, 66, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(75, 138, 93, 0.12) 0%, transparent 35%);
  opacity: 0.4;
  transition: opacity 0.8s ease;
  mix-blend-mode: screen;
}

.footer:hover::after {
  opacity: 1;
}

/* ── 1. Background Typography Layer ───────────────────── */

.footer__background-text {
  position: absolute;
  top: -1%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.footer__background-svg {
  width: auto;
  height: clamp(8rem, 25vw, 15rem);
  opacity: 1;
  overflow: visible;
}

.footer__background-svg text {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  fill: transparent;
}

.footer__background-svg:not([data-glow-enhanced="true"]) text {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1px;
  opacity: 0.34;
}

.footer__background-svg .footer__bg-text {
  vector-effect: non-scaling-stroke;
  stroke-linejoin: miter;
  stroke-miterlimit: 5;
}

.footer__background-svg .footer__bg-text--base {
  stroke: rgba(237, 246, 239, 0.34);
  stroke-width: 1px;
  opacity: 0.38;
  transition: opacity var(--motion-base) var(--ease-standard);
}

.footer__background-svg .footer__bg-text--glow {
  stroke-width: 1.26px;
  opacity: 0.04;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 2px rgba(218, 176, 106, 0.42)) drop-shadow(0 0 7px rgba(109, 169, 126, 0.44));
  transition: opacity var(--motion-base) var(--ease-standard);
}

.footer.is-glow-active .footer__background-svg .footer__bg-text--base {
  opacity: 0.48;
}

.footer.is-glow-active .footer__background-svg .footer__bg-text--glow {
  opacity: 0.96;
}

.footer:hover .footer__background-svg .footer__bg-text--base {
  opacity: 0.48;
}

.footer:hover .footer__background-svg .footer__bg-text--glow {
  opacity: 0.96;
}

.footer.is-glow-static .footer__background-svg .footer__bg-text--glow {
  opacity: 0.12;
}

.footer:hover .footer__background-svg:not([data-glow-enhanced="true"]) text {
  stroke: rgba(233, 246, 236, 0.52);
  opacity: 0.58;
}

/* ── 2. The Premium Lockup (Foreground) ──────────────── */

.footer-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
  margin-top: var(--space-2);
  /* Slight push down to sit nicely in the text arch */
}

/* Left: Logo */
.footer-lockup__logo-link {
  display: block;
  transition: transform var(--motion-base) var(--ease-standard);
  line-height: 0;
}

.footer-lockup__logo-link:hover {
  transform: scale(1.02);
}

.footer-lockup__logo-img {
  width: 90px;
  /* Reduced size as requested (~20-30% smaller) */
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Center: Divider */
.footer-lockup__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.1) 0%,
      var(--color-accent) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  opacity: 0.6;
}

/* Right: Contact Info */
.footer-lockup__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
}

.footer-lockup__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--motion-fast);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.footer-lockup__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.footer-lockup__icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-accent);
  opacity: 0.9;
}

/* ── 3. Bottom Legal Bar ─────────────────────────────── */

.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: var(--space-4);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0;
  /* Visual "glue" to the lockup */
  width: 100%;
}

.footer__bottom a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-fast);
}

.footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer__copy {
  margin: 0;
}

.footer__separator {
  color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 600px) {
  .footer {
    padding-top: var(--space-5);
    padding-bottom: var(--space-4);
  }

  .footer__background-text {
    display: none;
  }

  /* Stack the lockup significantly for mobile */
  .footer-lockup {
    flex-direction: column;
    gap: var(--space-4);
    margin-top: 0;
  }

  .footer-lockup__divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        var(--color-accent) 50%,
        rgba(255, 255, 255, 0) 100%);
  }

  .footer-lockup__contact {
    align-items: center;
    /* Center align contact on mobile */
  }

  .footer-lockup__logo-img {
    width: 80px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: var(--space-2);
  }

  .footer__separator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__background-svg .footer__bg-text--base,
  .footer__background-svg .footer__bg-text--glow,
  .footer::after {
    transition: none;
  }
}
/* === END: components/footer.css === */

/* === BEGIN: components/mobile-sticky.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Mobile Sticky CTA
   Mobilné sticky tlačidlá "Zavolať" + "Chcem ponuku".
   Zobrazujú sa pod 768px.
   ═══════════════════════════════════════════════════════ */

.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 248, 242, 0.96) 100%);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-3);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(22, 36, 22, 0.08);
  transition:
    border-color var(--motion-cta-hover) var(--ease-standard),
    box-shadow var(--motion-cta-hover) var(--ease-standard),
    background-color var(--motion-cta-hover) var(--ease-standard);
}

@supports (backdrop-filter: blur(8px)) {
  .mobile-sticky {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 248, 242, 0.88) 100%);
    backdrop-filter: blur(8px);
    transition:
      border-color var(--motion-cta-hover) var(--ease-standard),
      box-shadow var(--motion-cta-hover) var(--ease-standard),
      background-color var(--motion-cta-hover) var(--ease-standard),
      backdrop-filter var(--motion-cta-hover) var(--ease-standard);
  }
}

body.is-scrolled-72 .mobile-sticky {
  border-top-color: rgba(124, 160, 123, 0.52);
  box-shadow: 0 -8px 24px rgba(22, 36, 22, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 247, 239, 0.98) 100%);
}

@supports (backdrop-filter: blur(8px)) {
  body.is-scrolled-72 .mobile-sticky {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(241, 247, 239, 0.92) 100%);
    backdrop-filter: blur(10px);
  }
}

.mobile-sticky__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  max-width: 480px;
  margin-inline: auto;
}

.mobile-sticky .btn {
  width: 100%;
  min-height: 48px;
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .mobile-sticky {
    display: block;
  }

  /* Kompenzácia za sticky bar */
  body {
    padding-bottom: 72px;
  }

  /* Skryť footer fixed CTA na desktope */
  .footer__cta-desktop {
    display: none;
  }
}

@media (max-width: 380px) {
  .mobile-sticky__inner {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .mobile-sticky {
    padding: var(--space-1) var(--space-2);
    padding-bottom: calc(var(--space-1) + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky .btn {
    min-height: 44px;
    font-size: var(--text-xs);
  }
}
/* === END: components/mobile-sticky.css === */

/* === BEGIN: components/cookie-banner.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Cookie Banner
   GDPR cookie consent banner.
   ═══════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  z-index: var(--z-cookie);
  max-width: 420px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + var(--space-6)));
  transition: transform var(--motion-slow) var(--ease-emphasis);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  line-height: 1.45;
}

.cookie-banner__text a {
  color: var(--color-primary);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-1);
}

/* Na mobile posunúť vyššie kvôli sticky baru */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 76px;
    left: var(--space-2);
    right: var(--space-2);
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    max-width: none;
    padding: var(--space-3);
    border-radius: var(--radius-sm);
  }

  .cookie-banner__text {
    font-size: var(--text-xs);
    margin-bottom: var(--space-2);
  }

  .cookie-banner__actions .btn {
    font-size: var(--text-xs);
    min-height: 40px;
  }
}
/* === END: components/cookie-banner.css === */

/* === BEGIN: pages/home.css === */
/* TreeFons - Homepage page-specific */

.home-about .section__header,
.home-services .section__header,
.home-process .section__header,
.home-proof .section__header,
.home-showcase .section__header {
  text-align: center;
  margin-inline: auto;
}

.home-about .section__eyebrow,
.home-about .section__title,
.home-about .section__lead,
.home-services .section__eyebrow,
.home-services .section__title,
.home-process .section__eyebrow,
.home-process .section__title,
.home-proof .section__eyebrow,
.home-proof .section__title,
.home-showcase .section__eyebrow,
.home-showcase .section__title {
  text-align: center;
  margin-inline: auto;
}

.home-proof.section,
.home-about.section,
.home-workstrip.section,
.home-services.section {
  scroll-margin-top: 108px;
}

.home-proof.section {
  padding-block: clamp(3.8rem, 6vw, 5.4rem);
}

.home-about.section,
.home-workstrip.section,
.home-services.section {
  padding-block: clamp(4rem, 6.4vw, 5.8rem);
}

.home-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.home-proof__stat {
  padding: var(--space-4);
  text-align: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.home-proof__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.home-proof__label {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.home-proof__reel {
  margin-top: var(--space-4);
}

/* ── Motion orchestration ───────────────── */

.home-about__header.reveal,
.home-workstrip__header.reveal,
.home-services__header.reveal {
  --reveal-distance: 8px;
}

.home-proof__stat.reveal,
.home-about__panel.reveal,
.services-stack.reveal {
  --reveal-distance: 10px;
  --reveal-scale-start: 0.985;
}

.home-proof__gallery.reveal,
.workstrip__lane.reveal {
  --reveal-distance: 14px;
  --reveal-scale-start: 0.992;
  transform-origin: center 68%;
}

.home-about__grid .home-about__panel.reveal:nth-child(odd) {
  --reveal-x: -14px;
}

.home-about__grid .home-about__panel.reveal:nth-child(even) {
  --reveal-x: 14px;
}

.home-workstrip__rows .workstrip__lane.reveal:first-child {
  --reveal-x: -10px;
}

.home-workstrip__rows .workstrip__lane.reveal:last-child {
  --reveal-x: 10px;
}

@media (max-width: 768px) {

  .home-about__grid .home-about__panel.reveal,
  .home-workstrip__rows .workstrip__lane.reveal {
    --reveal-x: 0px;
  }
}

.home-proof__reel-frame {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.home-proof__slide {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-surface);
}

.home-proof__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.home-proof__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 17, 0.56) 0%, rgba(15, 24, 17, 0.08) 52%, rgba(15, 24, 17, 0) 100%);
  pointer-events: none;
}

.home-proof__caption {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
  color: var(--color-text-inverse);
  display: grid;
  gap: 4px;
}

.home-proof__caption-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.45vw + 0.92rem, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-proof__caption-meta {
  font-size: var(--text-sm);
  line-height: 1.3;
  color: rgba(245, 249, 244, 0.94);
  max-width: 34ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.home-proof__reel-dots {
  display: none;
}

.home-proof__reel--animated {
  --reel-height: clamp(460px, 64vh, 720px);
}

.home-proof__reel--animated .home-proof__reel-frame {
  position: relative;
  display: block;
  height: var(--reel-height);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  background: linear-gradient(145deg, rgba(238, 243, 237, 0.9), rgba(255, 255, 255, 0.95));
}

.home-proof__reel--animated .home-proof__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
  transform: translateZ(0);
}

.home-proof__reel--animated .home-proof__slide:first-child {
  clip-path: inset(0 0 0 0);
}

.home-proof__reel--animated .home-proof__caption {
  left: clamp(14px, 2.2vw, 32px);
  right: clamp(14px, 2.2vw, 32px);
  bottom: clamp(14px, 2.4vw, 30px);
}

.home-proof__reel--animated .home-proof__reel-dots {
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.home-proof__reel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(75, 138, 93, 0.28);
  transform: scale(1);
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard);
}

.home-proof__reel-dot.is-active {
  background-color: rgba(75, 138, 93, 0.9);
  transform: scale(1.18);
}

.home-about {
  position: relative;
  overflow: clip;
}

.home-about::before {
  content: "";
  position: absolute;
  width: clamp(240px, 34vw, 460px);
  height: clamp(240px, 34vw, 460px);
  right: clamp(-120px, -8vw, -52px);
  top: clamp(-120px, -8vw, -46px);
  background: radial-gradient(circle at center, rgba(75, 138, 93, 0.12) 0%, rgba(75, 138, 93, 0) 72%);
  pointer-events: none;
}

.home-about__header {
  position: relative;
  z-index: 1;
}

.home-about__highlights {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: 0;
  margin: 0 auto var(--space-4);
}

.home-about__highlights li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(75, 138, 93, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 237, 0.9));
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-about__grid {
  position: relative;
  z-index: 1;
  gap: var(--space-4);
}

.home-about__panel {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 138, 93, 0.2);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.94), rgba(238, 243, 237, 0.86));
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard);
}

.home-about__panel::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 0;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(75, 138, 93, 0.94), rgba(183, 134, 66, 0.94));
  transition: width var(--motion-base) var(--ease-standard);
}

.home-about__panel h3 {
  margin-bottom: var(--space-2);
}

.home-about__panel p {
  margin: 0;
  max-width: none;
}

.home-about__panel:hover,
.home-about__panel:focus-within {
  transform: translateY(-2px);
  border-color: rgba(75, 138, 93, 0.34);
  box-shadow: var(--shadow-md);
}

.home-about__panel:hover::before,
.home-about__panel:focus-within::before {
  width: calc(100% - (var(--space-4) * 2));
}

@media (prefers-reduced-motion: no-preference) {
  .home-about__header .section__title {
    transition:
      opacity var(--motion-reveal) var(--ease-reveal),
      transform var(--motion-reveal) var(--ease-reveal);
  }

  .home-about__header:not(.is-visible) .section__title {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  .home-about__header.is-visible .section__title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.home-workstrip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(75, 138, 93, 0.12), rgba(75, 138, 93, 0) 44%),
    radial-gradient(circle at 88% 84%, rgba(183, 134, 66, 0.12), rgba(183, 134, 66, 0) 46%);
}

.home-workstrip__header {
  margin-bottom: var(--space-4);
  max-width: min(66ch, 100%);
}

.home-workstrip .section__header,
.home-workstrip .section__eyebrow,
.home-workstrip .section__title,
.home-workstrip .section__lead {
  text-align: center;
  margin-inline: auto;
}

.home-workstrip__rows {
  display: grid;
  gap: var(--space-3);
  max-width: 100%;
  overflow-x: clip;
}

.workstrip__lane {
  position: relative;
  overflow: hidden;
  padding-block: 2px;
}

.workstrip__lane::before,
.workstrip__lane::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(16px, 3vw, 44px);
  z-index: 2;
  pointer-events: none;
}

.workstrip__lane::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 247, 243, 0.94) 0%, rgba(248, 247, 243, 0) 100%);
}

.workstrip__lane::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248, 247, 243, 0.94) 0%, rgba(248, 247, 243, 0) 100%);
}

.workstrip__row {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  width: max-content;
  transform: translate3d(0, 0, 0);
}

.workstrip__item {
  position: relative;
  margin: 0;
  flex: 0 0 clamp(128px, 14.2vw, 300px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(75, 138, 93, 0.2);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard);
}

.workstrip__item img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  display: block;
}

.workstrip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 17, 0.6) 0%, rgba(15, 24, 17, 0.04) 54%, rgba(15, 24, 17, 0) 100%);
  pointer-events: none;
}

.workstrip__label {
  position: absolute;
  left: clamp(10px, 1.5vw, 16px);
  bottom: clamp(10px, 1.5vw, 16px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(15, 24, 17, 0.56);
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}

/* Keep labels in markup; hide only in the home workstrip visual. */
.home-workstrip .workstrip__label {
  display: none;
}

.workstrip__item:hover,
.workstrip__item:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(75, 138, 93, 0.35);
}

.workstrip__item.is-duplicate {
  user-select: none;
}

.home-workstrip--animated .workstrip__row {
  will-change: transform;
  backface-visibility: hidden;
}

.home-workstrip--static .workstrip__row {
  transform: none !important;
}

.home-services__grid:not(.services-stack__track) {
  position: relative;
}

.home-services__grid:not(.services-stack__track) .service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(75, 138, 93, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 244, 0.9));
  box-shadow: var(--shadow-sm), var(--shadow-soft-inset);
}

.home-services__grid:not(.services-stack__track) .service-card::before {
  content: "";
  position: absolute;
  inset: -22% -10%;
  background:
    radial-gradient(circle at 16% 12%, rgba(75, 138, 93, 0.16), rgba(75, 138, 93, 0) 40%),
    radial-gradient(circle at 86% 88%, rgba(183, 134, 66, 0.14), rgba(183, 134, 66, 0) 42%);
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-base) var(--ease-standard);
  pointer-events: none;
  z-index: 0;
}

.home-services__grid:not(.services-stack__track) .service-card>* {
  position: relative;
  z-index: 1;
}

.home-services__grid:not(.services-stack__track) .service-card:hover::before,
.home-services__grid:not(.services-stack__track) .service-card:focus-within::before {
  opacity: 0.9;
  transform: translate3d(0, 0, 0) scale(1);
}

.home-services__grid:not(.services-stack__track) .service-card__icon {
  border: 1px solid rgba(75, 138, 93, 0.22);
  background: linear-gradient(140deg, rgba(238, 243, 237, 0.92), rgba(255, 255, 255, 0.94));
  transition:
    transform var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard),
    background-color var(--motion-base) var(--ease-standard);
}

.home-services__grid:not(.services-stack__track) .service-card:hover .service-card__icon,
.home-services__grid:not(.services-stack__track) .service-card:focus-within .service-card__icon {
  transform: translateY(-1px);
  border-color: rgba(75, 138, 93, 0.34);
}

.home-services__grid:not(.services-stack__track) .service-card__link {
  position: relative;
  padding-right: 18px;
}

.home-services__grid:not(.services-stack__track) .service-card__link::after {
  content: "\2192";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-52%);
  transition: transform var(--motion-fast) var(--ease-standard);
}

.home-services__grid:not(.services-stack__track) .service-card:hover .service-card__link::after,
.home-services__grid:not(.services-stack__track) .service-card:focus-within .service-card__link::after {
  transform: translate(4px, -52%);
}

.home-services__grid:not(.services-stack__track) .service-card__link::after {
  content: "\2192";
}

.home-services__grid:not(.services-stack__track) .service-card:hover .service-card__link::after,
.home-services__grid:not(.services-stack__track) .service-card:focus-within .service-card__link::after {
  transform: translate(2px, -52%);
}

.home-services .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-showcase__proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.home-showcase__case {
  display: grid;
  gap: var(--space-2);
}

.home-showcase__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
}

.home-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-base) var(--ease-standard);
}

.home-showcase__case:hover .home-showcase__item img {
  transform: scale(1.02);
}

.home-showcase__case-title {
  margin: 0;
  font-size: var(--text-lg);
}

.home-showcase__case-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .home-proof__reel-frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-workstrip__rows {
    gap: var(--space-2);
  }

  /* Na mobile zachovame velkost items, ale povolime animaciu */
  .workstrip__lane {
    width: 100%;
    overflow: hidden;
    /* CRITICAL: Hide overflowing content for animation */
    padding-inline: 0;
  }

  .workstrip__row {
    width: max-content;
    /* transform: none !important; <--- ZMAZANE, aby isla animacia */
    padding-right: 0;
  }

  .workstrip__item {
    flex-basis: min(39vw, 160px);
    /* scroll-snap-align: start; <--- Netreba pri auto-scroll */
  }

  /* Duplikaty MUSIA byt vidiet pre nekonecku slucku */
  .workstrip__item.is-duplicate {
    display: block;
  }
}

/* Iba ak chce uzivatel vypnut pohyb, tak vypneme */
@media (prefers-reduced-motion: reduce) {
  .workstrip__lane {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .workstrip__row {
    transform: none !important;
  }

  .workstrip__item {
    scroll-snap-align: start;
  }

  .workstrip__item.is-duplicate {
    display: none;
  }
}

@media (max-width: 768px) {

  .home-services .grid,
  .home-proof__stats,
  .home-showcase__proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about__highlights {
    gap: var(--space-1);
  }
}

@media (max-width: 620px) {
  .home-proof__reel-frame {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {

  .home-services .grid,
  .home-proof__stats,
  .home-showcase__proof-grid {
    grid-template-columns: 1fr;
  }

  .home-proof__caption {
    left: var(--space-2);
    right: var(--space-2);
    bottom: var(--space-2);
  }

  .home-proof__caption-title {
    font-size: 1.05rem;
  }

  .home-proof__caption-meta {
    font-size: var(--text-xs);
  }

  .home-about__panel {
    padding: var(--space-3);
  }

  .home-about__highlights li {
    min-height: 32px;
    padding: 6px 11px;
    font-size: 0.68rem;
  }
}

/*
/* === END: pages/home.css === */

/* === BEGIN: pages/service.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Service page-specific
   Platí pre: zavlaha, travniky, uprava-pozemkov,
   drobne-stavebne-prace, zamkove-dlazby
   ═══════════════════════════════════════════════════════ */

/* ── Service detail layout ───────────── */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.service-detail__content {
  order: 1;
}

.service-detail__image {
  order: 2;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.service-carousel {
  --service-carousel-peek-offset: 87%;
  --service-carousel-peek-offset-2: 93%;
  --service-carousel-peek-scale: 0.965;
  --service-carousel-peek-scale-2: 0.94;
  position: relative;
}

.service-carousel__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.service-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  opacity: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(10%, 0, 0) scale(0.96);
  filter: saturate(0.92);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-slow) var(--ease-standard),
    filter var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard);
}

.service-carousel__slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  filter: none;
}

.service-carousel__slide.is-peek-next {
  z-index: 2;
  opacity: 0.58;
  transform: translate3d(var(--service-carousel-peek-offset), 0, 0) scale(var(--service-carousel-peek-scale));
  box-shadow: -12px 0 26px rgba(10, 17, 12, 0.22);
}

.service-carousel__slide.is-peek-next-2 {
  z-index: 1;
  opacity: 0.34;
  transform: translate3d(var(--service-carousel-peek-offset-2), 0, 0) scale(var(--service-carousel-peek-scale-2));
  box-shadow: -8px 0 20px rgba(10, 17, 12, 0.16);
}

.service-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-carousel__counter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  min-width: 3.05rem;
  height: 1.7rem;
  padding-inline: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(17, 30, 21, 0.54);
  color: rgba(247, 252, 248, 0.98);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.service-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(17, 30, 21, 0.56);
  color: rgba(247, 252, 248, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    transform var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard);
  box-shadow: 0 8px 20px rgba(7, 13, 9, 0.24);
}

.service-carousel__control--prev {
  left: 0.75rem;
}

.service-carousel__control--next {
  right: 0.75rem;
}

.service-carousel__icon {
  --service-carousel-icon-rotation: 0deg;
  width: 18px;
  height: 18px;
  display: block;
  transform: rotate(var(--service-carousel-icon-rotation));
  transition: transform var(--motion-fast) var(--ease-standard);
}

.service-carousel__control--prev .service-carousel__icon {
  --service-carousel-icon-rotation: 180deg;
}

.service-carousel__control:hover {
  background: rgba(23, 40, 28, 0.74);
  border-color: rgba(248, 253, 249, 0.72);
  transform: translateY(-50%) scale(1.02);
}

.service-carousel__control:active,
.service-carousel__control.is-pressed {
  transform: translateY(-50%) scale(0.94);
}

.service-carousel__control.is-pressed .service-carousel__icon {
  transform: rotate(var(--service-carousel-icon-rotation)) scale(0.92);
}

.service-carousel__control:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* Alternácia: párne bloky majú obrázok vľavo */
.service-detail--reverse .service-detail__content {
  order: 2;
}

.service-detail--reverse .service-detail__image {
  order: 1;
}

/* ── Subslužby zoznam ────────────────── */

.service-sub-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0 0;
}

.service-sub-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}

.service-sub-list li:last-child {
  border-bottom: none;
}

.service-sub-list li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ── Benefit boxes ───────────────────── */

.service-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.service-benefit {
  text-align: center;
  padding: var(--space-4);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.service-benefit__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-2);
  color: var(--color-primary);
}

.service-benefit__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.service-benefit__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── Motion orchestration ───────────────── */

.process-step.reveal,
.service-benefit.reveal {
  --reveal-distance: 12px;
  --reveal-scale-start: 0.986;
  transform-origin: center 72%;
}

.process-steps[data-reveal-group] .process-step.reveal:nth-child(odd) {
  --reveal-x: -10px;
}

.process-steps[data-reveal-group] .process-step.reveal:nth-child(even) {
  --reveal-x: 10px;
}

/* -- Responsive ------------------------ */

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__image {
    order: 1 !important;
  }

  .service-detail__content {
    order: 2 !important;
  }

  .service-benefits {
    grid-template-columns: 1fr;
  }

  .process-steps[data-reveal-group] .process-step.reveal {
    --reveal-x: 0px;
  }

  .service-detail {
    gap: var(--space-4);
  }

  .service-carousel__control {
    width: 2.1rem;
    height: 2.1rem;
  }

  .service-carousel__counter {
    top: 0.6rem;
    right: 0.6rem;
    min-width: 2.8rem;
    height: 1.58rem;
    font-size: 0.73rem;
  }

  .service-carousel__control--prev {
    left: 0.55rem;
  }

  .service-carousel__control--next {
    right: 0.55rem;
  }

  .service-carousel__icon {
    width: 16px;
    height: 16px;
  }

  .service-carousel__slide.is-peek-next,
  .service-carousel__slide.is-peek-next-2 {
    opacity: 0;
    transform: scale(1.018);
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .service-benefit {
    padding: var(--space-3);
  }

  .service-benefit__icon {
    width: 40px;
    height: 40px;
  }

  .service-sub-list li {
    font-size: var(--text-sm);
    padding-block: var(--space-1);
  }

  .service-carousel__control {
    width: 2rem;
    height: 2rem;
  }

  .service-carousel__counter {
    min-width: 2.65rem;
    height: 1.5rem;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-carousel__slide,
  .service-carousel__control {
    transition: none;
  }
}
/* === END: pages/service.css === */

/* === BEGIN: pages/realizacie.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Realizácie page-specific
   ═══════════════════════════════════════════════════════ */

/* ── Stats bar ───────────────────────── */

.realizacie-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.realizacie-stats__item {
  text-align: center;
}

.realizacie-stats__num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.realizacie-stats__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .realizacie-stats {
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
  }
}

@media (max-width: 480px) {
  .realizacie-stats {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }

  .realizacie-stats__num {
    font-size: 1.5rem;
  }
}
/* === END: pages/realizacie.css === */

/* === BEGIN: pages/kontakt.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Kontakt page-specific
   ═══════════════════════════════════════════════════════ */

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.kontakt-layout--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.kontakt-layout .form,
.kontakt-layout .contact-card {
  height: 100%;
}

.contact-card__map iframe {
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .kontakt-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .kontakt-layout {
    gap: var(--space-4);
  }
}
/* === END: pages/kontakt.css === */

/* === BEGIN: utilities.css === */
/* ═══════════════════════════════════════════════════════
   TreeFons — Utility Classes
   Jednoúčelové triedy (vždy posledné v kaskáde).
   ═══════════════════════════════════════════════════════ */

/* ── Accessibility ───────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Text alignment ──────────────────────── */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ── Text color ──────────────────────────── */

.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-inverse { color: var(--color-text-inverse); }

/* ── Font weight ─────────────────────────── */

.fw-normal { font-weight: 400; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* ── Display ─────────────────────────────── */

.d-none { display: none; }
.d-block { display: block; }

/* ── Spacing helpers ─────────────────────── */

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.pb-8 { padding-block: var(--space-8); }

/* ── Error page (404) ────────────────────── */

.error-page { text-align: center; padding-block: var(--space-8); }

.error-page__code {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.error-page__suggestions {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
}

.error-page__suggestions a { color: var(--color-text-link); }
.error-page__suggestions a:hover { color: var(--color-primary-strong); }

/* ── Error page responsive ───────────── */

@media (max-width: 480px) {
  .error-page {
    padding-block: var(--space-6);
  }

  .error-page__suggestions {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* ── Meta text (last-updated etc.) ───────── */

.meta-text {
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ── Scroll reveal (pred animáciou) ──────── */

.reveal {
  --reveal-distance: 12px;
  --reveal-delay: 0ms;
  --reveal-duration: var(--motion-reveal);
  --reveal-x: 0px;
  --reveal-y: var(--reveal-distance);
  --reveal-scale-start: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale-start));
  transition:
    opacity var(--reveal-duration) var(--ease-reveal) var(--reveal-delay),
    transform var(--reveal-duration) var(--ease-reveal) var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal--anchor {
  --reveal-distance: var(--reveal-anchor-distance);
  --reveal-duration: var(--reveal-anchor-duration);
}

.reveal--content {
  --reveal-distance: var(--reveal-content-distance);
  --reveal-duration: var(--reveal-content-duration);
}

.reveal--detail {
  --reveal-distance: var(--reveal-detail-distance);
  --reveal-duration: var(--reveal-detail-duration);
}

.reveal--sm {
  --reveal-distance: 8px;
}

.reveal--lg {
  --reveal-distance: 16px;
}

.reveal--fade {
  --reveal-distance: 0px;
  --reveal-y: 0px;
}

.reveal--card {
  --reveal-distance: 10px;
  --reveal-scale-start: 0.985;
}

.reveal--media {
  --reveal-distance: 14px;
  --reveal-scale-start: 0.992;
}

.reveal--left {
  --reveal-x: -12px;
  --reveal-y: 0px;
}

.reveal--right {
  --reveal-x: 12px;
  --reveal-y: 0px;
}

.reveal--delay-0 {
  --reveal-delay: 0ms;
}

.reveal--delay-1 {
  --reveal-delay: 60ms;
}

.reveal--delay-2 {
  --reveal-delay: 120ms;
}

.reveal--delay-3 {
  --reveal-delay: 180ms;
}

.reveal--delay-4 {
  --reveal-delay: 240ms;
}

.reveal--delay-5 {
  --reveal-delay: 300ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* ── Width constraint ────────────────────── */

.max-w-narrow {
  max-width: var(--container-narrow);
}
/* === END: utilities.css === */
