
/* HORNA — Webfonts
   Display: Oswald — condensed, mechanical, industrial signage feel
   Body:    Barlow — grotesque derived from automotive/plate signage, highly legible
   Mono:    JetBrains Mono — part numbers, specs, technical labels
   Self-hosted .woff2 (latin + latin-ext subsets — covers Czech diacritics).
   No requests to Google servers, no IP sent to Google on page load. */
/* Oswald 400 normal — latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/oswald-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald 400 normal — latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/oswald-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald 500 normal — latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/oswald-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald 500 normal — latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/oswald-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald 600 normal — latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/oswald-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald 600 normal — latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/oswald-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Oswald 700 normal — latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Oswald 700 normal — latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 400 italic — latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 400 italic — latin */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 400 normal — latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 400 normal — latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/barlow-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 500 normal — latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 500 normal — latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/barlow-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 600 normal — latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 600 normal — latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 700 normal — latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 700 normal — latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 400 normal — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 400 normal — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 500 normal — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 500 normal — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 700 normal — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 700 normal — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   HORNA — COLOR SYSTEM
   Industrial, technical, masculine. Deep blacks, charcoal,
   brushed aluminum, cream off-white, and the logo's red.
   Color is restrained; red is reserved for action & emphasis.
   ============================================================ */
:root {
  /* --- Base ink scale: black → charcoal → steel → aluminum --- */
  --ink-900: #0A0B0C;   /* near-black page base */
  --ink-850: #101214;   /* primary dark surface */
  --ink-800: #16181B;   /* raised surface / cards */
  --ink-700: #1E2125;   /* elevated panel */
  --ink-600: #2A2E33;   /* hairline borders on dark, inputs */
  --ink-500: #3A3F45;   /* strong border / divider */
  --ink-400: #565C63;   /* muted icon / disabled */
  --ink-300: #7C828A;   /* secondary text on dark */
  --ink-200: #A7ADB4;   /* tertiary / captions */

  /* --- Aluminum / cream (warm off-white from the logo) --- */
  --alu-100: #C9CDD2;   /* brushed aluminum light */
  --alu-200: #B4B9BF;   /* brushed aluminum mid */
  --alu-300: #8C9298;   /* steel gray */
  --cream:   #ECE7DA;   /* logo cream — warm headline ink on dark */
  --cream-dim: #D6D1C4;
  --white:   #FFFFFF;

  /* --- Industrial Red (from logo wrench) --- */
  --red-700: #8E1419;   /* pressed / deep */
  --red-600: #B11C22;   /* hover */
  --red-500: #CC2128;   /* PRIMARY brand red */
  --red-400: #E03038;   /* bright highlight */
  --red-glow: rgba(204, 33, 40, 0.35);

  /* --- Functional / status --- */
  --ok-500:   #3F9D52;  /* completed / pass */
  --warn-500: #D08A1E;  /* attention */
  --info-500: #4A7FB0;  /* informational (rare) */

  /* ========================================================
     SEMANTIC ALIASES — use these in components
     ======================================================== */
  /* Surfaces */
  --bg-page:        var(--ink-900);
  --bg-surface:     var(--ink-850);
  --bg-card:        var(--ink-800);
  --bg-raised:      var(--ink-700);
  --bg-inset:       #0C0D0F;            /* sunken wells / code */
  --bg-overlay:     rgba(10, 11, 12, 0.78);

  /* Text */
  --text-strong:    var(--cream);      /* headlines on dark */
  --text-body:      #C5C9CE;           /* body copy on dark */
  --text-muted:     var(--ink-300);    /* secondary */
  --text-faint:     var(--ink-400);   /* captions / disabled */
  --text-on-red:    #FFFFFF;
  --text-on-light:  var(--ink-900);    /* text on aluminum/cream */

  /* Brand action */
  --accent:         var(--red-500);
  --accent-hover:   var(--red-600);
  --accent-active:  var(--red-700);
  --accent-bright:  var(--red-400);

  /* Lines */
  --border-subtle:  rgba(255, 255, 255, 0.07);
  --border-default: var(--ink-600);
  --border-strong:  var(--ink-500);
  --border-accent:  var(--red-500);

  /* Metallic accents */
  --metal-edge:     rgba(255, 255, 255, 0.12); /* top hairline highlight */
  --metal-shadow:   rgba(0, 0, 0, 0.55);
}

/* ============================================================
   HORNA — TYPOGRAPHY SYSTEM
   Oswald (condensed display) · Barlow (body) · JetBrains Mono
   Headlines are uppercase, tight, mechanical.
   Body is clean and scannable. Mono carries specs & part numbers.
   ============================================================ */
:root {
  /* Families */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Weights */
  --fw-regular: 400; /* @kind other */
  --fw-medium:  500; /* @kind other */
  --fw-semibold:600; /* @kind other */
  --fw-bold:    700; /* @kind other */

  /* Fluid display scale (industrial, condensed headlines) */
  --fs-display:  clamp(3.25rem, 1.6rem + 6.8vw, 6.5rem); /* @kind other */
  --fs-h1:       clamp(2.5rem, 1.4rem + 4.4vw, 4.25rem); /* @kind other */
  --fs-h2:       clamp(2rem, 1.4rem + 2.6vw, 3rem); /* @kind other */
  --fs-h3:       clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); /* @kind other */
  --fs-h4:       clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); /* @kind other */

  /* Body / UI scale */
  --fs-lead:  1.25rem; /* @kind other */
  --fs-body:  1.0625rem; /* @kind other */
  --fs-sm:    0.9375rem; /* @kind other */
  --fs-xs:    0.8125rem; /* @kind other */

  /* Eyebrow / label (uppercase mono-ish tracking) */
  --fs-eyebrow: 0.8125rem; /* @kind other */

  /* Line heights */
  --lh-tight:   1.02; /* @kind other */
  --lh-snug:    1.12; /* @kind other */
  --lh-normal:  1.5; /* @kind other */
  --lh-relaxed: 1.65; /* @kind other */

  /* Letter spacing */
  --ls-display: -0.01em; /* @kind other */
  --ls-tight:   -0.005em; /* @kind other */
  --ls-eyebrow: 0.18em; /* @kind other */
  --ls-caps:    0.06em; /* @kind other */
}

/* ---- Utility type classes used across cards & kits ---- */
.t-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.t-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--text-strong);
}
.t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--text-strong);
}
.t-h1 { font-size: var(--fs-h1); }
.t-h2 { font-size: var(--fs-h2); }
.t-h3 { font-size: var(--fs-h3); }
.t-h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }
.t-body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-normal); color: var(--text-body); }
.t-lead { font-family: var(--font-body); font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--text-body); }
.t-mono { font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: 0; color: var(--text-muted); }

/* ============================================================
   HORNA — SPACING, GRID, RADII, SHADOWS, MOTION
   8px base grid. Sharp, machined corners (small radii).
   Shadows are deep and hard — not soft/floaty.
   ============================================================ */
:root {
  /* 8px spacing scale */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */
  --space-10: 8rem;     /* 128 */

  /* Section rhythm */
  --section-y:    clamp(4rem, 8vw, 8rem); /* @kind spacing */
  --container-max: 1280px; /* @kind spacing */
  --container-pad: clamp(1.25rem, 4vw, 4rem); /* @kind spacing */
  --gutter:        1.5rem; /* @kind spacing */

  /* Radii — machined, restrained. Nothing pill-soft. */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-pill: 999px;   /* only for tags/avatars */

  /* Border widths */
  --bw-hair: 1px; /* @kind spacing */
  --bw-1:    1px; /* @kind spacing */
  --bw-2:    2px; /* @kind spacing */
  --bw-accent: 3px; /* @kind spacing */

  /* Shadows — hard, industrial. Long & dark, minimal blur. */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.5);
  --shadow-md:  0 6px 18px rgba(0,0,0,0.55);
  --shadow-lg:  0 18px 44px rgba(0,0,0,0.6);
  --shadow-red: 0 8px 28px var(--red-glow);
  --shadow-inset: inset 0 1px 0 var(--metal-edge);  /* top metal highlight */

  /* Motion — fast, mechanical, no bounce */
  --ease-out:  cubic-bezier(0.2, 0.6, 0.2, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur-fast:  120ms; /* @kind other */
  --dur-base:  180ms; /* @kind other */
  --dur-slow:  320ms; /* @kind other */

  /* Z layers */
  --z-base: 0; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-nav: 200; /* @kind other */
  --z-overlay: 900; /* @kind other */
  --z-modal: 1000; /* @kind other */
}

/* ============================================================
   HORNA — BASE RESET & GLOBAL ATMOSPHERE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* Dark technical backdrop: subtle vignette + machined grain.
   Apply .horna-bg to a full-bleed page wrapper. */
.horna-bg {
  background-color: var(--bg-page);
  background-image:
    radial-gradient(120% 90% at 50% -10%, rgba(204,33,40,0.07), transparent 55%),
    radial-gradient(100% 100% at 100% 0%, rgba(255,255,255,0.03), transparent 60%);
  background-attachment: fixed;
}

/* Hairline diagonal machined texture overlay (use as ::before) */
.horna-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 4px
  );
}

/* Brushed-aluminum surface utility */
.surface-alu {
  background: linear-gradient(135deg, #d4d8dc 0%, #aeb4ba 30%, #c4c9ce 55%, #9aa0a6 100%);
  color: var(--text-on-light);
}

/* Red accent rule */
.rule-accent {
  width: 56px;
  height: var(--bw-accent);
  background: var(--accent);
  border: 0;
}




  /* ---------- page shell ---------- */
  html { scroll-behavior:smooth; }
  body { margin:0; }
  .wrap { max-width:1200px; margin:0 auto; padding:0 clamp(20px,4vw,48px); }
  section { position:relative; }
  section[id] { scroll-margin-top:84px; }
  h2.sec-title { font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:-0.01em; color:var(--text-strong); font-size:clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height:var(--lh-snug); margin:16px 0 0; }
  .sec-intro { font-family:var(--font-body); font-size:18px; line-height:1.6; color:var(--text-muted); max-width:54ch; margin:16px 0 0; }
  .btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; height:48px; padding:0 22px; font-family:var(--font-display); font-weight:600; font-size:15px; text-transform:uppercase; letter-spacing:.04em; border-radius:var(--radius-sm); border:1px solid transparent; cursor:pointer; transition:all var(--dur-fast) var(--ease-out); white-space:nowrap; }
  .btn svg { width:17px; height:17px; }
  .btn-primary { background:var(--accent); color:#fff; box-shadow:var(--shadow-sm), var(--shadow-inset); }
  .btn-primary:hover { background:var(--accent-hover); }
  .btn-secondary { background:transparent; color:var(--text-strong); border-color:var(--border-strong); }
  .btn-secondary:hover { border-color:var(--accent); color:var(--accent-bright); }
  .btn-lg { height:58px; padding:0 30px; font-size:17px; }

  /* ---------- top bar / nav ---------- */
  .topbar { position:fixed; top:0; left:0; right:0; z-index:250; background:var(--ink-900); border-bottom:1px solid var(--border-subtle); font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; transform:translateY(-100%); transition:transform var(--dur-slow) var(--ease-out); }
  body.topbar-visible .topbar { transform:translateY(0); }
  .topbar .wrap { display:flex; justify-content:space-between; align-items:center; height:38px; color:var(--text-muted); }
  .topbar .tb-r { display:flex; gap:22px; }
  .topbar .tb-r span { display:inline-flex; align-items:center; gap:7px; }
  .topbar svg { width:13px; height:13px; color:var(--accent); }
  .topbar .tb-social svg { width:14px; height:14px; color:var(--text-strong); transition:color var(--dur-fast) var(--ease-out); }
  .topbar .tb-social:hover svg { color:var(--accent); }
  nav.main { position:sticky; top:0; z-index:200; background:rgba(10,11,12,0.85); backdrop-filter:blur(12px); border-bottom:1px solid var(--border-subtle); transition:top var(--dur-slow) var(--ease-out); }
  body.topbar-visible nav.main { top:39px; }
  nav.main .wrap { display:flex; align-items:center; justify-content:space-between; gap:28px; height:82px; }
  .brand { display:flex; align-items:center; gap:13px; }
  .brand img { width:72px; height:72px; object-fit:contain; }
  .brand .bw { display:flex; flex-direction:column; }
  .brand .bt { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:26px; letter-spacing:.02em; color:var(--text-strong); line-height:1; }
  .brand .bs { font-family:var(--font-mono); font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--text-faint); margin-top:3px; white-space:nowrap; }
  .navlinks { display:flex; gap:16px; }
  .navlinks a { font-family:var(--font-display); font-weight:500; font-size:14px; text-transform:uppercase; letter-spacing:.03em; color:var(--text-muted); transition:color var(--dur-fast); white-space:nowrap; }
  .navlinks a:hover { color:var(--text-strong); }
  .nav-cta { display:flex; align-items:center; gap:16px; }
  .nav-phone { font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--text-strong); display:inline-flex; align-items:center; gap:8px; letter-spacing:.01em; white-space:nowrap; }
  .nav-phone svg { width:18px; height:18px; color:var(--accent); }
  .nav-toggle { display:none; width:46px; height:46px; align-items:center; justify-content:center; background:transparent; border:1px solid var(--border-strong); border-radius:var(--radius-sm); color:var(--text-strong); cursor:pointer; padding:0; }
  .nav-toggle svg { width:24px; height:24px; }
  .mobile-menu { display:none; }
  .mm-link { display:flex; align-items:center; justify-content:space-between; padding:15px 4px; font-family:var(--font-display); font-weight:600; font-size:18px; text-transform:uppercase; letter-spacing:.03em; color:var(--text-strong); border-bottom:1px solid var(--border-subtle); }
  .mm-link svg { width:18px; height:18px; color:var(--accent); }
  .mm-foot { display:flex; flex-direction:column; gap:12px; margin-top:18px; }
  .mm-call { display:flex; align-items:center; justify-content:center; gap:10px; height:54px; border:1px solid var(--border-strong); border-radius:var(--radius-sm); font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--text-strong); }
  .mm-call svg { width:20px; height:20px; color:var(--accent); }

  /* ---------- hero ---------- */
  .hero { overflow:hidden; position:relative; background:var(--bg-page); border-bottom:1px solid var(--border-subtle); }
  .hero::before { content:""; position:absolute; inset:0; background-image:linear-gradient(var(--border-subtle) 1px,transparent 1px),linear-gradient(90deg,var(--border-subtle) 1px,transparent 1px); background-size:64px 64px; -webkit-mask-image:linear-gradient(110deg,#000 38%,transparent 62%); mask-image:linear-gradient(110deg,#000 38%,transparent 62%); opacity:.30; pointer-events:none; z-index:1; }
  .hero .wrap { position:relative; z-index:3; }
  .hero-inner { max-width:640px; display:flex; flex-direction:column; padding:clamp(64px,7.5vw,128px) 0 clamp(60px,7vw,108px); }
  .hero-since { font-family:var(--font-mono); font-size:13px; letter-spacing:.34em; text-transform:uppercase; color:var(--accent); font-weight:500; }
  .hero h1 { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:clamp(4rem, 1rem + 9.4vw, 8.6rem); line-height:var(--lh-tight); letter-spacing:-0.04em; color:var(--text-strong); margin:24px 0 0; }
  .hero-sub { font-family:var(--font-display); font-weight:600; text-transform:uppercase; font-size:clamp(1rem, 0.6rem + 1vw, 1.5rem); letter-spacing:.01em; color:var(--accent); margin:24px 0 0; }
  .hero p.lead { font-family:var(--font-body); font-size:19px; line-height:1.62; color:var(--text-body); max-width:38ch; margin:26px 0 0; }
  .hero-actions { display:flex; gap:14px; margin-top:46px; flex-wrap:wrap; }
  .hero-trust { display:grid; grid-template-columns:repeat(3,auto); justify-content:start; margin-top:60px; }
  .htr { padding:0 24px; border-left:1px solid var(--border-subtle); display:grid; grid-template-rows:42px auto; row-gap:11px; }
  .htr:first-child { padding-left:0; border-left:0; }
  .htr .n { align-self:end; font-family:var(--font-display); font-weight:700; font-size:34px; color:var(--text-strong); line-height:1; letter-spacing:-0.01em; }
  .htr .n em { font-style:normal; color:var(--accent); font-size:0.6em; }
  .htr .n .n-prefix { display:inline-block; font-family:var(--font-display); font-weight:600; font-size:15px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-right:7px; vertical-align:2px; }
  .htr .l { align-self:start; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); }
  .hero-media { position:absolute; top:0; right:0; bottom:0; width:53%; z-index:2; }
  .hero-media img { width:100%; height:100%; object-fit:cover; object-position:32% center; filter:saturate(.92) contrast(1.07) brightness(.95); }
  .hero-media::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--bg-page) 0%,rgba(10,11,12,0.82) 20%,rgba(10,11,12,0.30) 46%,transparent 70%),linear-gradient(0deg,rgba(10,11,12,0.55),transparent 30%); pointer-events:none; }

  /* ---------- section base ---------- */
  .pad { padding:clamp(60px,8vw,110px) 0; }
  .sec-head { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:48px; }

  /* ---------- services ---------- */
  .services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .svc { position:relative; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); overflow:hidden; display:flex; flex-direction:column; transition:transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  .svc:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
  .svc-img { height:180px; overflow:hidden; position:relative; }
  .svc-img img { width:100%; height:100%; object-fit:cover; filter:saturate(.92) contrast(1.05); transition:transform var(--dur-slow) var(--ease-out); }
  .svc:hover .svc-img img { transform:scale(1.06); }
  .svc-img::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%, rgba(10,11,12,0.8)); }
  .svc-body { padding:24px; display:flex; flex-direction:column; gap:12px; flex:1; }
  .svc-ico { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-sm); background:rgba(204,33,40,0.12); border:1px solid rgba(204,33,40,0.35); color:var(--accent-bright); margin-top:-46px; position:relative; z-index:1; background-color:var(--ink-800); }
  .svc-ico svg { width:22px; height:22px; }
  .svc h3 { font-family:var(--font-display); font-weight:600; font-size:21px; text-transform:uppercase; color:var(--text-strong); margin:0; line-height:1.1; }
  .svc p { font-family:var(--font-body); font-size:15px; line-height:1.55; color:var(--text-muted); margin:0; flex:1; }
  .svc-price { display:flex; align-items:baseline; gap:8px; padding-top:14px; border-top:1px solid var(--border-subtle); }
  .svc-price .od { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
  .svc-price .pr { font-family:var(--font-display); font-weight:700; font-size:22px; color:var(--accent-bright); }
  .svc-rule { height:3px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform var(--dur-base) var(--ease-out); }
  .svc:hover .svc-rule { transform:scaleX(1); }
  /* zvýrazněný doporučující řádek + drobná poznámka uvnitř karty služby */
  .svc-hl { font-family:var(--font-body); font-size:13.5px; line-height:1.55; color:var(--text-body); background:rgba(204,33,40,0.08); border-left:2px solid var(--accent); border-radius:0 var(--radius-xs) var(--radius-xs) 0; padding:10px 12px; }
  .svc-fine { font-family:var(--font-mono); font-size:11px; line-height:1.5; letter-spacing:.03em; color:var(--text-faint); }

  /* ---------- before/after ---------- */
  .ba-section { background:var(--ink-850); border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
  .ba { position:relative; width:100%; max-width:600px; margin:0 auto; aspect-ratio:1010/1340; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border-default); cursor:ew-resize; user-select:none; background:#000; box-shadow:var(--shadow-lg); }
  .ba img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .ba .after-img { z-index:1; }
  .ba .before-clip { position:absolute; inset:0; width:50%; overflow:hidden; z-index:2; border-right:2px solid var(--accent); }
  .ba .before-clip img { width:auto; height:100%; max-width:none; }
  .ba-tag { position:absolute; top:16px; z-index:4; display:inline-flex; align-items:center; gap:8px; padding:7px 12px; font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#fff; background:rgba(10,11,12,0.7); border-radius:var(--radius-xs); backdrop-filter:blur(4px); }
  .ba-tag .d { width:8px; height:8px; }
  .ba-handle { position:absolute; top:0; bottom:0; z-index:3; transform:translateX(-50%); display:flex; align-items:center; pointer-events:none; }
  .ba-handle .knob { width:44px; height:44px; border-radius:50%; background:var(--accent); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); color:#fff; }
  .ba-handle .knob svg { width:20px; height:20px; }

  /* ---------- gallery ---------- */
  /* Masonry via CSS columns, but tiles snap to one of a few deliberate ratios
     (not the photo's raw dimensions) so the grid reads as designed, not dumped. */
  .gallery-grid { column-count:4; column-gap:26px; margin-top:32px; }
  /* On-page preview (before "Zobrazit celou galerii"): a true grid, not masonry —
     8 photos in 4 even columns so the bottom edge lines up. The full modal keeps
     the masonry below; this override only ever applies to #gallery. */
  #gallery.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); column-count:auto; gap:34px; }
  #gallery.gallery-grid .gallery-item { margin-bottom:0; }
  #gallery.gallery-grid .gallery-item.gi-sq,
  #gallery.gallery-grid .gallery-item.gi-tall,
  #gallery.gallery-grid .gallery-item.gi-wide { aspect-ratio:4/3; }
  .gallery-item { position:relative; display:block; width:100%; padding:0; margin:0 0 26px; border:1px solid var(--border-subtle); border-radius:var(--radius-md); overflow:hidden; background:#000; cursor:zoom-in; -webkit-appearance:none; appearance:none; break-inside:avoid; box-shadow:var(--shadow-sm); transition:box-shadow var(--dur-base) var(--ease-out); }
  .gallery-item:hover { box-shadow:var(--shadow-lg); }
  .gallery-item.gi-sq   { aspect-ratio:1/1; }
  .gallery-item.gi-tall { aspect-ratio:3/4; }
  .gallery-item.gi-wide { aspect-ratio:4/3; }
  .gallery-item.gi-video { aspect-ratio:9/16; }
  /* Subject always centered in the crop; one shared grade unifies mixed shop lighting */
  .gallery-item img, .gallery-item video { width:100%; height:100%; display:block; object-fit:cover; object-position:center; filter:saturate(.83) contrast(1.1) brightness(.93) sepia(.05); transition:transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out); }
  .gallery-item:hover img, .gallery-item:hover video { transform:scale(1.07); filter:saturate(.96) contrast(1.13) brightness(1.0) sepia(.02); }
  /* Play glyph over video tiles: always visible, brightens to accent on hover */
  .gi-play { position:absolute; top:50%; left:50%; z-index:2; width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(6,7,8,0.55); border:1.5px solid rgba(255,255,255,0.35); backdrop-filter:blur(3px); color:#fff; pointer-events:none; transform:translate(-50%,-50%); transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
  .gi-play svg { width:20px; height:20px; margin-left:3px; fill:currentColor; }
  .gallery-item:hover .gi-play { background:var(--accent); border-color:var(--accent); transform:translate(-50%,-50%) scale(1.08); }
  /* Permanent low gradient grounds the tile as a designed card, not a raw screenshot */
  .gallery-item::after { content:""; position:absolute; left:0; right:0; bottom:0; height:40%; z-index:1; pointer-events:none; background:linear-gradient(0deg, rgba(6,7,8,0.5) 0%, transparent 100%); }

  /* Před/Po: a fact about the photo, not a filter — small, muted, always on */
  .gi-stage { position:absolute; top:10px; left:10px; z-index:2; display:inline-flex; align-items:center; gap:6px; padding:5px 10px; font-family:var(--font-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:#fff; background:rgba(10,11,12,0.65); border-radius:var(--radius-xs); backdrop-filter:blur(4px); }
  .gi-stage .d { width:6px; height:6px; border-radius:50%; }
  .gi-stage.pred .d { background:var(--accent); }
  .gi-stage.po .d { background:var(--ok-500); }

  /* Category caption: wipes up from the bottom on hover, like a stamped plate */
  .gi-cap { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:16px 14px 12px; background:linear-gradient(0deg, rgba(8,9,10,0.94) 20%, transparent 100%); transform:translateY(100%); transition:transform var(--dur-base) var(--ease-out); }
  .gallery-item:hover .gi-cap { transform:translateY(0); }
  .gi-cap span { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--cream); }
  .gallery-more { display:flex; justify-content:center; margin-top:28px; }

  /* ---------- full gallery modal ---------- */
  .gallery-modal { position:fixed; inset:0; z-index:900; background:var(--bg-page); opacity:0; pointer-events:none; transition:opacity var(--dur-base) var(--ease-out); overflow-y:auto; }
  .gallery-modal.open { opacity:1; pointer-events:auto; }
  .gm-inner { max-width:1280px; margin:0 auto; padding:clamp(20px,4vw,48px); }
  .gm-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 0 24px; position:sticky; top:0; background:var(--bg-page); z-index:2; }
  .gm-head h3 { font-family:var(--font-display); font-weight:600; text-transform:uppercase; font-size:clamp(1.4rem,1.1rem+1.4vw,2rem); color:var(--text-strong); margin:0; }
  .gm-close { width:44px; height:44px; flex:none; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid var(--border-strong); color:var(--text-strong); cursor:pointer; padding:0; transition:background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
  .gm-close:hover { background:rgba(204,33,40,0.18); border-color:var(--accent); color:var(--accent-bright); }
  .gm-close svg { width:20px; height:20px; }
  .gm-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px; }
  .gm-filter { height:38px; padding:0 18px; font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); background:transparent; border:1px solid var(--border-default); border-radius:var(--radius-pill); cursor:pointer; transition:all var(--dur-fast) var(--ease-out); }
  .gm-filter:hover { border-color:var(--accent); color:var(--text-strong); }
  .gm-filter.active { background:var(--accent); border-color:var(--accent); color:#fff; }
  .gm-empty { column-span:all; padding:60px 0; text-align:center; color:var(--text-muted); font-size:15px; }
  .gm-grid { column-count:5; padding-bottom:48px; }

  /* ---------- gallery lightbox ---------- */
  .lightbox { position:fixed; inset:0; z-index:1000; background:rgba(6,7,8,0.94); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity var(--dur-base) var(--ease-out); }
  .lightbox.open { opacity:1; pointer-events:auto; }
  .lightbox .lb-img { max-width:min(90vw,1100px); max-height:86vh; object-fit:contain; border-radius:var(--radius-sm); box-shadow:var(--shadow-lg); }
  .lb-close, .lb-nav { position:fixed; display:flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid var(--border-strong); color:var(--text-strong); cursor:pointer; padding:0; transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
  .lb-close:hover, .lb-nav:hover { background:rgba(204,33,40,0.18); border-color:var(--accent); color:var(--accent-bright); }
  .lb-close svg, .lb-nav svg { width:22px; height:22px; }
  .lb-close { top:24px; right:24px; }
  .lb-prev { left:24px; top:50%; transform:translateY(-50%); }
  .lb-next { right:24px; top:50%; transform:translateY(-50%); }
  @media (max-width:600px) {
    .lb-close { top:14px; right:14px; width:42px; height:42px; }
    .lb-prev { left:8px; width:42px; height:42px; }
    .lb-next { right:8px; width:42px; height:42px; }
  }

  /* ---------- why / split ---------- */
  .why-grid { display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center; }
  .why-list { display:grid; grid-template-columns:1fr 1fr; gap:26px 30px; margin-top:8px; }
  .why-item { display:flex; gap:14px; align-items:flex-start; }
  .why-item .wi-ico { width:42px; height:42px; flex:none; border-radius:var(--radius-sm); background:var(--bg-raised); border:1px solid var(--border-default); display:flex; align-items:center; justify-content:center; color:var(--accent-bright); }
  .why-item .wi-ico svg { width:20px; height:20px; }
  .why-item h4 { font-family:var(--font-display); font-weight:600; font-size:17px; text-transform:uppercase; color:var(--text-strong); margin:2px 0 6px; letter-spacing:-0.005em; }
  .why-item p { font-family:var(--font-body); font-size:14.5px; line-height:1.5; color:var(--text-muted); margin:0; }
  .why-media { position:relative; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border-default); box-shadow:var(--shadow-lg); aspect-ratio:1/1; }
  .why-media img { width:100%; height:100%; object-fit:cover; }

  /* ---------- process ---------- */
  .proc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
  .proc { padding:30px 26px 30px 0; border-top:2px solid var(--border-strong); position:relative; }
  .proc::before { content:""; position:absolute; top:-2px; left:0; width:48px; height:2px; background:var(--accent); }
  .proc .pn { font-family:var(--font-mono); font-size:12px; letter-spacing:.14em; color:var(--accent); width:fit-content; }
  .proc h4 { font-family:var(--font-display); font-weight:600; font-size:20px; text-transform:uppercase; color:var(--text-strong); margin:16px 0 8px; }
  .proc p { font-family:var(--font-body); font-size:14.5px; line-height:1.55; color:var(--text-muted); margin:0; }

  /* ---------- pricing ---------- */
  .pricing { background:var(--ink-850); border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
  .price-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:48px; }
  .price-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); overflow:hidden; }
  .price-card .ph { padding:18px 24px; background:var(--accent); display:flex; align-items:center; gap:12px; }
  .price-card .ph svg { width:20px; height:20px; color:#fff; }
  .price-card .ph h3 { font-family:var(--font-display); font-weight:700; font-size:20px; text-transform:uppercase; color:#fff; margin:0; letter-spacing:.02em; }
  .price-rows { padding:8px 24px 18px; }
  .price-row { display:flex; align-items:center; justify-content:space-between; padding:14px 0 14px 14px; border-bottom:1px solid var(--border-subtle); }
  .price-row:last-child { border-bottom:0; }
  .price-row .pl { font-family:var(--font-body); font-size:16px; color:var(--text-body); }
  .price-row .pv { font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--text-strong); }
  .price-row .pv .od { font-family:var(--font-mono); font-size:11px; color:var(--text-faint); font-weight:400; text-transform:uppercase; letter-spacing:.08em; margin-right:6px; }
  .price-note { font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); text-align:center; margin-top:24px; }

  /* ---------- stock (repasované hlavy skladem) ---------- */
  .stock-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .stock-card { position:relative; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); overflow:hidden; display:flex; flex-direction:column; transition:box-shadow var(--dur-slow) var(--ease-out); }
  .stock-card:hover { box-shadow:var(--shadow-lg); }
  .stock-img { height:190px; overflow:hidden; position:relative; }
  .stock-img img { width:100%; height:100%; object-fit:cover; filter:saturate(.92) contrast(1.05); }
  .stock-badge { position:absolute; top:12px; left:12px; z-index:1; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-strong); background:rgba(10,11,12,0.82); border:1px dashed var(--border-strong); border-radius:var(--radius-xs); padding:5px 10px; }
  .stock-body { padding:22px 24px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
  .stock-body h3 { font-family:var(--font-display); font-weight:600; font-size:19px; text-transform:uppercase; color:var(--text-strong); margin:0; letter-spacing:.01em; }
  .stock-desc { font-family:var(--font-body); font-size:14px; line-height:1.6; color:var(--text-muted); margin:0; flex:1; }
  .stock-price { display:flex; align-items:baseline; gap:8px; padding-top:14px; border-top:1px solid var(--border-subtle); }
  .stock-price .od { font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
  .stock-price .pr { font-family:var(--font-display); font-weight:700; font-size:22px; color:var(--accent-bright); }
  .stock-cta { margin-top:6px; width:100%; }
  .stock-empty { font-family:var(--font-body); font-size:15px; color:var(--text-muted); }

  /* ---------- reviews ---------- */
  .rev-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
  .rev { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:28px 26px; display:flex; flex-direction:column; gap:16px; }
  .rev .stars { display:flex; gap:3px; color:var(--accent); }
  .rev .stars svg { width:16px; height:16px; fill:var(--accent); }
  .rev p { font-family:var(--font-body); font-size:15.5px; line-height:1.6; color:var(--text-body); margin:0; flex:1; }
  .rev .who { display:flex; align-items:center; gap:12px; padding-top:14px; border-top:1px solid var(--border-subtle); }
  .rev .av { width:40px; height:40px; border-radius:50%; background:var(--bg-raised); border:1px solid var(--border-default); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; color:var(--cream); }
  .rev .who .nm { font-family:var(--font-body); font-weight:600; font-size:14.5px; color:var(--text-strong); }
  .rev .who .mt { font-family:var(--font-mono); font-size:11px; color:var(--text-faint); letter-spacing:.06em; }
  .rev .av img { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }

  /* -- Overall rating badge (live average + count from Google) -- */
  .rev-overall { display:flex; align-items:center; gap:9px; margin-top:14px; }
  .rev-overall .stars { display:inline-flex; gap:2px; color:var(--accent); }
  .rev-overall .stars svg { width:16px; height:16px; fill:var(--accent); }
  .rev-overall strong { font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--text-strong); }
  .rev-overall span:last-child { font-family:var(--font-body); font-size:14.5px; color:var(--text-muted); }

  /* -- Review skeleton: shown while live reviews are loading -- */
  .rev.rev-skeleton { opacity:1; gap:14px; }
  .rev-skeleton .rsk { border-radius:4px; background:var(--bg-raised); position:relative; overflow:hidden; }
  .rev-skeleton .rsk::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation:rsk-shimmer 1.3s ease-in-out infinite; }
  .rev-skeleton .rsk-stars { width:88px; height:14px; }
  .rev-skeleton .rsk-text { height:12px; }
  .rev-skeleton .rsk-text.short { width:65%; }
  .rev-skeleton .rsk-who { display:flex; align-items:center; gap:12px; padding-top:14px; margin-top:auto; border-top:1px solid var(--border-subtle); }
  .rev-skeleton .rsk-av { width:40px; height:40px; border-radius:50%; flex:none; }
  .rev-skeleton .rsk-name { width:110px; height:12px; }
  @keyframes rsk-shimmer { 100% { transform:translateX(100%); } }
  @media (prefers-reduced-motion:reduce) { .rev-skeleton .rsk::after { animation:none; } }

  /* ---------- FAQ ---------- */
  .faq { max-width:820px; margin:48px auto 0; }
  .faq-item { border-bottom:1px solid var(--border-default); padding-left:16px; }
  .faq-q { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 2px 24px 0; cursor:pointer; }
  .faq-q h4 { font-family:var(--font-display); font-weight:500; font-size:19px; text-transform:uppercase; color:var(--text-strong); margin:0; letter-spacing:-0.005em; }
  .faq-q .faq-btn { width:30px; height:30px; flex:none; border:1px solid var(--border-strong); border-radius:var(--radius-xs); display:flex; align-items:center; justify-content:center; color:var(--accent); transition:transform var(--dur-base); }
  .faq-q .faq-btn svg { width:16px; height:16px; }
  .faq-a { max-height:0; overflow:hidden; transition:max-height var(--dur-slow) var(--ease-out); }
  .faq-a p { font-family:var(--font-body); font-size:16px; line-height:1.65; color:var(--text-muted); margin:0 0 24px; max-width:68ch; }
  .faq-item.open .faq-a { max-height:520px; }
  .faq-item.open .faq-q .faq-btn { transform:rotate(45deg); }

  /* ---------- contact ---------- */
  .contact { background:var(--ink-850); border-top:1px solid var(--border-subtle); }
  .contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:start; }
  .ci-list { display:flex; flex-direction:column; gap:4px; margin:30px 0 0; }
  .ci { display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border-subtle); align-items:center; }
  .ci .ci-ico { width:46px; height:46px; flex:none; border-radius:var(--radius-sm); background:var(--bg-raised); border:1px solid var(--border-default); display:flex; align-items:center; justify-content:center; color:var(--accent-bright); }
  .ci .ci-ico svg { width:20px; height:20px; }
  .ci .ci-l { font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }
  .ci .ci-v { font-family:var(--font-display); font-weight:600; font-size:20px; color:var(--text-strong); margin-top:3px; text-transform:uppercase; letter-spacing:.01em; }
  .form-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:32px; box-shadow:var(--shadow-md); }
  .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
  .field { display:flex; flex-direction:column; gap:8px; }
  .field.span2 { grid-column:span 2; }
  .field label { font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted); }
  .field label .req { color:var(--accent); margin-left:4px; }
  .field input, .field textarea { width:100%; font-family:var(--font-body); font-size:16px; color:var(--text-strong); background:var(--bg-inset); border:1px solid var(--border-default); border-radius:var(--radius-sm); padding:0 14px; height:48px; outline:none; box-sizing:border-box; transition:border-color var(--dur-fast), box-shadow var(--dur-fast); }
  .field textarea { height:auto; min-height:96px; padding:12px 14px; resize:vertical; }
  .field input:focus, .field textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(204,33,40,0.18); }
  .map { margin-top:30px; height:240px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border-default); position:relative; background:var(--ink-900); }
  .map iframe { width:100%; height:100%; border:0; filter:grayscale(1) invert(0.9) contrast(0.9); }
  .map-pin { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }

  /* ---------- final CTA + footer ---------- */
  .final-cta { position:relative; overflow:hidden; }
  .final-cta .fc-bg { position:absolute; inset:0; z-index:0; }
  .final-cta .fc-bg img { width:100%; height:100%; object-fit:cover; opacity:0.18; filter:grayscale(0.3); }
  .final-cta::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,var(--ink-900),rgba(10,11,12,0.86)); z-index:1; }
  .final-cta .wrap { position:relative; z-index:2; text-align:center; padding:clamp(64px,9vw,120px) 0; }
  .final-cta h2 { font-family:var(--font-display); font-weight:700; font-size:clamp(2.2rem, 1.4rem + 3.6vw, 4rem); text-transform:uppercase; letter-spacing:-0.01em; color:var(--text-strong); margin:18px 0 0; line-height:var(--lh-snug); }
  .final-cta h2 .red { color:var(--accent); }
  .final-cta p { font-family:var(--font-body); font-size:19px; color:var(--text-body); margin:18px auto 0; max-width:50ch; }
  .final-actions { display:flex; gap:14px; justify-content:center; margin-top:36px; flex-wrap:wrap; }
  footer { background:var(--ink-900); border-top:1px solid var(--border-subtle); padding:54px 0 30px; }
  .foot-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
  .foot-brand { display:flex; align-items:center; gap:13px; margin-bottom:18px; }
  .foot-brand img { width:64px; height:64px; }
  .foot-brand .bt { font-family:var(--font-display); font-weight:700; font-size:22px; text-transform:uppercase; color:var(--text-strong); }
  .foot-col p, .foot-col a { font-family:var(--font-body); font-size:14.5px; color:var(--text-muted); line-height:1.9; }
  .foot-col p { display:block; }
  /* display:table shrink-wraps to the link's own text width (unlike block),
     so the hover underline below only ever spans the words themselves. */
  .foot-col a { display:table; position:relative; transition:color var(--dur-base) var(--ease-out); }
  .foot-col a::after { content:""; position:absolute; left:0; right:0; bottom:2px; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:right; transition:transform var(--dur-base) var(--ease-out); pointer-events:none; }
  .foot-col a:hover { color:var(--accent); }
  .foot-col a:hover::after { transform:scaleX(1); transform-origin:left; }
  .foot-col h5 { font-family:var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--text-faint); margin:0 0 14px; }
  .foot-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:44px; padding-top:24px; border-top:1px solid var(--border-subtle); font-family:var(--font-mono); font-size:12px; color:var(--text-faint); letter-spacing:.04em; }
  .foot-social { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding-bottom:36px; margin-bottom:36px; border-bottom:1px solid var(--border-subtle); }
  .foot-social .fs-label { font-family:var(--font-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }
  .foot-social .fs-icons { display:flex; gap:12px; }
  .foot-social .fs-icons a { width:44px; height:44px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--ink-800); border:1px solid var(--border-default); color:var(--text-strong); transition:color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
  .foot-social .fs-icons svg { width:21px; height:21px; }
  .foot-social .fs-icons a:hover { color:var(--accent); border-color:var(--accent); background:var(--ink-700); }

  /* mobile sticky call bar */
  .mobilebar { display:none; }

  @media (max-width:1080px) { .rev-grid { grid-template-columns:repeat(2,1fr); } }
  /* Nav collapses to the hamburger/mobile-menu earlier (1200px) than the
     content grids below (920px): with 6 nav links + phone + CTA button,
     the desktop nav bar runs out of room and wraps/overlaps well before
     the rest of the page needs to reflow. 1200px matches .wrap's own
     max-width, so this is the first width where the nav truly has less
     room to work with than it's designed for. */
  @media (max-width:1200px) {
    .navlinks, .topbar { display:none; }
    nav.main .wrap { height:68px; }
    .brand img { width:60px; height:60px; }
    .brand .bt { font-size:22px; }
    .nav-cta .btn-primary { display:none; }
    .nav-toggle { display:inline-flex; }
    .mobile-menu { display:block; position:fixed; left:0; right:0; top:64px; z-index:190; background:var(--ink-900); border-bottom:1px solid var(--border-subtle); box-shadow:var(--shadow-lg); padding:10px clamp(20px,4vw,48px) 24px; opacity:0; transform:translateY(-14px); pointer-events:none; transition:opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); max-height:calc(100vh - 64px); overflow-y:auto; }
    .mobile-menu.open { opacity:1; transform:none; pointer-events:auto; }
  }
  @media (max-width:920px) {
    .why-grid, .contact-grid { grid-template-columns:1fr; gap:40px; }
    .services-grid, .rev-grid, .stock-grid { grid-template-columns:1fr 1fr; }
    .gallery-grid { column-count:3; column-gap:20px; }
    .gallery-item { margin-bottom:20px; }
    #gallery.gallery-grid { grid-template-columns:repeat(3,1fr); column-count:auto; gap:26px; }
    .gm-grid { column-count:3; column-gap:20px; }
    .proc-grid { grid-template-columns:1fr 1fr; }
    .price-grid, .form-grid { grid-template-columns:1fr; }
    .form-grid .field.span2, .form-grid .field-check { grid-column:auto; }
    .why-list { grid-template-columns:1fr 1fr; }
    .hero-media { position:relative; width:100%; height:300px; }
    .hero-media::after { background:linear-gradient(0deg,var(--bg-page),transparent 55%); }
    .hero-inner { max-width:none; padding-bottom:34px; }
    .sec-head { flex-direction:column; align-items:flex-start; gap:14px; margin-bottom:36px; }
    .sec-intro { max-width:62ch; }
  }
  @media (max-width:600px) {
    .services-grid, .rev-grid, .proc-grid, .stock-grid { grid-template-columns:1fr; }
    .gallery-grid { column-count:2; column-gap:14px; }
    .gallery-item { margin-bottom:14px; }
    #gallery.gallery-grid { grid-template-columns:repeat(2,1fr); column-count:auto; gap:18px; }
    .gm-grid { column-count:2; column-gap:14px; }
    .gm-filters { gap:8px; }
    .gm-filter { height:34px; padding:0 14px; font-size:11px; }
    .why-list { grid-template-columns:1fr; }
    .foot-grid { grid-template-columns:1fr 1fr; }
    .nav-phone span { display:none; }
    .hero h1 { font-size:clamp(2.9rem, 7vw + 1.4rem, 3.7rem); }
    .hero-sub { font-size:1.05rem; margin-top:18px; }
    .hero p.lead { font-size:17.5px; }
    .hero-actions { flex-direction:column; margin-top:34px; }
    .hero-actions .btn { width:100%; }
    .hero-trust { grid-template-columns:1fr 1fr; gap:24px 0; margin-top:44px; }
    .htr { padding:0 18px; }
    .htr:nth-child(3) { padding-left:0; border-left:0; }
    .ba { max-width:100%; }
    .pad { padding:56px 0; }
    .form-card { padding:24px 20px; }
    .sec-intro { font-size:16.5px; }
    .mobilebar { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:300; }
    .mobilebar a { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; height:58px; font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-size:15px; }
    .mobilebar svg { width:18px; height:18px; }
    .mb-call { background:var(--accent); color:#fff; }
    .mb-quote { background:var(--ink-800); color:var(--text-strong); border-top:1px solid var(--border-strong); }
    .mb-call:active, .mb-quote:active { filter:brightness(0.82); }
    body { padding-bottom:58px; }
  }

  /* --- GDPR checkbox --- */
  .field-check { grid-column:span 2; display:flex; align-items:flex-start; gap:12px; padding-top:4px; }
  .field-check input[type="checkbox"] { width:18px; height:18px; flex:none; margin-top:2px; cursor:pointer; accent-color:var(--accent); }
  .field-check label { font-family:var(--font-body); font-size:13.5px; line-height:1.55; color:var(--text-muted); cursor:pointer; }
  .field-check label a { color:var(--accent-bright); text-decoration:underline; text-underline-offset:3px; }
  .field-check label a:hover { color:var(--text-strong); }

  /* --- Cookie banner: slide-up + fade, mirrors .topbar's slide language --- */
  .cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:500; background:var(--ink-800); border-top:1px solid var(--border-default); padding:14px clamp(20px,4vw,48px); display:flex; align-items:center; gap:20px; flex-wrap:wrap; opacity:1; transform:translateY(0); transition:transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out); }
  .cookie-banner.hidden { opacity:0; transform:translateY(110%); pointer-events:none; }
  .cookie-banner > p { font-family:var(--font-body); font-size:13.5px; line-height:1.5; color:var(--text-muted); margin:0; flex:1; min-width:220px; }
  .cookie-banner > p a { color:var(--accent-bright); text-decoration:underline; text-underline-offset:3px; }
  .cookie-actions { display:flex; gap:10px; flex-shrink:0; }
  @media (max-width:600px) { .cookie-banner { bottom:58px; } }

  /* ================================================================
     INTERACTIONS v2 — differentiated per section, no template pattern
     ================================================================ */

  /* -- Global focus-visible: red ring; inputs override to border -- */
  :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:2px; }
  .field input:focus-visible, .field textarea:focus-visible { outline:none; }

  /* -- Buttons: explicit properties; active = mechanical press (60ms linear = instant doraz) -- */
  .btn { transition:background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform 60ms linear; }
  .btn:active { transform:translateY(1px); }
  .btn:disabled { opacity:0.55; cursor:not-allowed; transform:none; transition:opacity 120ms var(--ease-out); }

  /* -- Nav: underline wipes right→left on hover, stays for active section -- */
  .navlinks a { position:relative; text-decoration:none; }
  .navlinks a::after { content:""; position:absolute; left:0; right:0; bottom:-4px; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:right; transition:transform 160ms var(--ease-out); pointer-events:none; }
  .navlinks a:hover::after { transform:scaleX(1); transform-origin:left; }
  .navlinks a.nav-active { color:var(--text-strong); }
  .navlinks a.nav-active::after { transform:scaleX(1); transform-origin:left; }

  /* -- Nav phone: hover warm-up (it's a tap target, not decorative) -- */
  .nav-phone { transition:color 120ms var(--ease-out); }
  .nav-phone:hover { color:var(--accent-bright); }

  /* -- Mobile menu links: tap feedback via color shift -- */
  .mm-link { transition:color 80ms var(--ease-out); }
  .mm-link:active { color:var(--accent); }
  .mm-call:active { color:var(--accent-bright); border-color:var(--accent); }

  /* -- Service cards: dim on load → illuminate on scroll-enter; no lift -- */
  .svc { opacity:0.4; transition:box-shadow var(--dur-base) var(--ease-out), opacity 420ms var(--ease-out); }
  .svc.svc-lit { opacity:1; }
  .svc:hover { transform:none; }
  .svc-img img { transition:transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out); }
  .svc:hover .svc-img img { transform:scale(1.05); filter:saturate(1) contrast(1.08) brightness(1.06); }

  /* -- Signature: before/after auto-sweep CSS hooks (class toggled by JS) -- */
  .ba.ba-animating .before-clip { transition:width 1100ms cubic-bezier(0.16,1,0.3,1); }
  .ba.ba-animating #baHandle { transition:left 1100ms cubic-bezier(0.16,1,0.3,1); }

  /* -- Gallery: develops in like a print — scale + fade, staggered by grid order -- */
  .gallery-item { opacity:0; transform:scale(0.94); transition:opacity 360ms var(--ease-out), transform 360ms var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  .gallery-item.gallery-visible { opacity:1; transform:none; }
  .gallery-item:hover { box-shadow:var(--shadow-lg); }
  /* Filter switch: quick snap-out before the masonry reflows to the new set */
  .gm-grid .gallery-item.gi-leaving { opacity:0; transform:scale(0.94); transition:opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }

  /* -- Why items: slide from left (not generic translateY) -- */
  .why-item { opacity:0; transform:translateX(-20px); transition:opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
  .why-item.why-visible { opacity:1; transform:none; }

  /* -- Process: number stamps (scale), then heading+body slides in -- */
  .proc .pn { opacity:0; transform:scale(1.35); transition:opacity 90ms linear, transform 90ms linear; }
  .proc h4 { opacity:0; transform:translateX(-14px); transition:opacity 200ms var(--ease-out), transform 200ms var(--ease-out); transition-delay:130ms; }
  .proc p { opacity:0; transform:translateX(-14px); transition:opacity 200ms var(--ease-out), transform 200ms var(--ease-out); transition-delay:185ms; }
  .proc.proc-visible .pn { opacity:1; transform:scale(1); }
  .proc.proc-visible h4 { opacity:1; transform:none; }
  .proc.proc-visible p { opacity:1; transform:none; }

  /* -- Price rows: 3px indicator wipes down from top — invoice/menu feel -- */
  .price-row { position:relative; }
  .price-row::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent); transform:scaleY(0); transform-origin:top; transition:transform 140ms var(--ease-out); border-radius:2px 0 0 2px; }
  .price-row:hover::before { transform:scaleY(1); }
  .price-row:hover .pl { color:var(--text-strong); transition:color var(--dur-fast); }

  /* -- Reviews: fade in on enter; bar wipes up on hover (bottom→top = upward confidence) -- */
  .rev { position:relative; overflow:hidden; opacity:0; transition:opacity 320ms var(--ease-out); }
  .rev.rev-visible { opacity:1; }
  .rev::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent); transform:scaleY(0); transform-origin:bottom; transition:transform 220ms var(--ease-out); }
  .rev:hover::before { transform:scaleY(1); }
  .rev:hover .stars svg { fill:hsl(358,84%,54%); transition:fill var(--dur-fast); }

  /* -- FAQ: grid-rows trick — true smooth open, no max-height tearing -- */
  .faq-a { display:grid; grid-template-rows:0fr; transition:grid-template-rows 300ms var(--ease-out); max-height:none; overflow:visible; }
  .faq-a p { min-height:0; overflow:hidden; margin-bottom:0; }
  .faq-a p:last-child { margin-bottom:24px; }
  .faq-item.open .faq-a { grid-template-rows:1fr; max-height:none; }
  /* Open item: left bar + cream heading; non-open items dim when one is open */
  .faq-item { position:relative; transition:opacity 180ms var(--ease-out); }
  .faq-item::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent); transform:scaleY(0); transform-origin:top; transition:transform 250ms var(--ease-out); border-radius:2px; }
  .faq-item.open::before { transform:scaleY(1); }
  .faq-item.open .faq-q h4 { color:var(--text-strong); }
  .faq.has-open .faq-item:not(.open) { opacity:0.5; }
  .faq.has-open .faq-item:not(.open):hover { opacity:0.85; }

  /* -- Form inputs: inset left-border on focus (terminal cursor feel) -- */
  .field input:focus, .field textarea:focus { border-color:var(--accent); box-shadow:inset 3px 0 0 var(--accent); }

  /* -- Form validation: invalid fields get a persistent red border + inline
     message (not just a native browser bubble) so it reads as part of the
     site, not a foreign form-plugin. -- */
  .field.field-invalid input, .field.field-invalid textarea { border-color:var(--accent); }
  .field-check.field-invalid input[type="checkbox"] { outline:2px solid var(--accent); outline-offset:2px; }
  .field-check.field-invalid label { color:var(--accent-bright); }
  .field-err-msg { margin:-4px 0 0; font-family:var(--font-body); font-size:12.5px; line-height:1.4; color:var(--accent-bright); }
  .field-check { flex-wrap:wrap; }
  .field-check .field-err-msg { margin-left:30px; }

  .form-card { position:relative; }

  /* -- Contact form confirmation: a true modal, not an in-page overlay. Dark
     backdrop dims the whole page — this is the moment a lead becomes a
     customer conversation, so it gets its own stage, not a quiet swap. -- */
  .fs-modal { position:fixed; inset:0; z-index:1000; background:rgba(6,7,8,0.86); backdrop-filter:blur(3px); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity 280ms var(--ease-out); }
  .fs-modal.open { opacity:1; pointer-events:auto; }
  .fs-modal-card { position:relative; width:100%; max-width:420px; display:flex; flex-direction:column; align-items:center; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); box-shadow:var(--shadow-lg); padding:44px 36px 36px; text-align:center; transform:scale(0.92) translateY(14px); opacity:0; transition:transform 420ms cubic-bezier(0.16,1,0.3,1), opacity 420ms cubic-bezier(0.16,1,0.3,1); }
  .fs-modal.open .fs-modal-card { transform:none; opacity:1; }
  .fs-modal-close { position:absolute; top:14px; right:14px; width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid var(--border-strong); color:var(--text-strong); cursor:pointer; padding:0; transition:background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
  .fs-modal-close:hover { background:rgba(204,33,40,0.18); border-color:var(--accent); color:var(--accent-bright); }
  .fs-modal-close svg { width:18px; height:18px; }

  /* Stamp badge: sharp-cornered frame + hand-drawn checkmark stroke (QC-stamp
     motif, not a soft generic circle-check), red on red — on-brand, not "cute". */
  .fs-badge { position:relative; width:64px; height:64px; margin-bottom:22px; }
  .fs-badge-svg { width:100%; height:100%; overflow:visible; }
  .fs-frame { fill:none; stroke:var(--accent); stroke-width:2; transition:stroke-dashoffset 420ms cubic-bezier(0.65,0,0.35,1); }
  .fs-check { fill:none; stroke:var(--accent-bright); stroke-width:3.5; stroke-linecap:square; stroke-linejoin:miter; transition:stroke-dashoffset 300ms cubic-bezier(0.65,0,0.35,1); }
  @keyframes fs-stamp-pulse {
    0%   { box-shadow:0 0 0 0 rgba(204,33,40,0); }
    45%  { box-shadow:0 0 26px 6px var(--red-glow); }
    100% { box-shadow:0 0 0 0 rgba(204,33,40,0); }
  }
  .fs-badge.fs-pulse { animation:fs-stamp-pulse 480ms var(--ease-out); }

  .fs-title { font-family:var(--font-display); font-weight:600; font-size:22px; text-transform:uppercase; letter-spacing:.01em; color:var(--text-strong); margin:0 0 12px; opacity:0; transform:translateY(10px); transition:opacity 320ms var(--ease-out), transform 320ms var(--ease-out); transition-delay:150ms; }
  .fs-text { font-family:var(--font-body); font-size:16px; line-height:1.55; color:var(--text-muted); margin:0; max-width:36ch; opacity:0; transform:translateY(10px); transition:opacity 320ms var(--ease-out), transform 320ms var(--ease-out); transition-delay:200ms; }
  .fs-modal.open .fs-title,
  .fs-modal.open .fs-text { opacity:1; transform:none; }

  /* -- Honeypot: off-screen, not display:none (bots skip that check) -- */
  .hp-field { position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

  /* -- Form error banner: inline, on-brand, dismissible -- */
  #formError { display:flex; flex-direction:row; align-items:flex-start; gap:12px; margin-top:0; padding:0 16px; background:rgba(204,33,40,0.1); border:1px solid rgba(204,33,40,0.35); border-left:3px solid var(--accent); border-radius:var(--radius-sm); opacity:0; max-height:0; pointer-events:none; overflow:hidden; transition:opacity 220ms var(--ease-out), max-height 220ms var(--ease-out), margin-top 220ms var(--ease-out), padding 220ms var(--ease-out); }
  #formError.error-visible { opacity:1; max-height:200px; margin-top:16px; padding:14px 16px; pointer-events:auto; }
  #formError .fe-ico { flex:none; color:var(--accent-bright); margin-top:1px; }
  #formError .fe-body { flex:1; font-family:var(--font-body); font-size:13.5px; line-height:1.55; color:var(--text-body); }
  #formError .fe-body strong { color:var(--text-strong); }
  #formError .fe-close { flex:none; background:transparent; border:none; padding:2px; margin:-2px -2px -2px 0; color:var(--text-faint); cursor:pointer; transition:color var(--dur-fast); }
  #formError .fe-close:hover { color:var(--text-strong); }

  /* -- Contact links: subtle bg on hover, icon border warms up -- */
  a.ci { text-decoration:none; transition:background-color var(--dur-fast); border-radius:var(--radius-sm); }
  a.ci:hover { background:var(--bg-raised); }
  a.ci:hover .ci-ico { border-color:rgba(204,33,40,0.55); color:var(--accent); transition:border-color var(--dur-fast), color var(--dur-fast); }

  /* -- Price cards: shadow deepens on hover (no lift — data table feel) -- */
  .price-card { transition:box-shadow var(--dur-slow) var(--ease-out); }
  .price-card:hover { box-shadow:var(--shadow-lg); }

  /* -- Submit loader: linear spin = pracovní rytmus, ne dekorace -- */
  @keyframes spin { to { transform:rotate(360deg); } }
  #submitBtn:disabled svg { animation:spin 900ms linear infinite; }

  /* -- Reduce motion: disable all transitions, keep functional behaviour -- */
  @media (prefers-reduced-motion:reduce) {
    *, *::before, *::after {
      transition-duration:0.01ms !important;
      animation-duration:0.01ms !important;
      transition-delay:0ms !important;
    }
    html { scroll-behavior:auto; }
  }
  .svc-more { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-bright); position:relative; z-index:2; }
  .svc-more:hover { text-decoration:underline; text-underline-offset:3px; }

/* ============ Subpages (služby) ============ */
.crumbs { font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); margin:0 0 22px; display:flex; flex-wrap:wrap; gap:8px; }
.crumbs a { color:var(--text-muted); }
.crumbs a:hover { color:var(--accent-bright); }
.sp-hero { padding:clamp(48px,7vw,96px) 0 clamp(40px,6vw,72px); border-bottom:1px solid var(--border-subtle); }
.sp-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,5vw,64px); align-items:center; }
.sp-hero h1 { font-family:var(--font-display); font-weight:700; text-transform:uppercase; color:var(--text-strong); font-size:clamp(36px,5.4vw,64px); line-height:1.02; margin:0 0 20px; letter-spacing:.005em; }
.sp-hero .lead { font-family:var(--font-body); font-size:clamp(16px,1.4vw,19px); line-height:1.6; color:var(--text-muted); margin:0 0 28px; max-width:56ch; }
.sp-hero .hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.sp-hero-img img { width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius-md); border:1px solid var(--border-default); display:block; }
.sp-facts { display:flex; flex-wrap:wrap; gap:10px 28px; margin:28px 0 0; padding:0; list-style:none; font-family:var(--font-mono); font-size:13px; color:var(--text-muted); }
.sp-facts li { display:flex; align-items:center; gap:8px; }
.sp-facts svg { width:15px; height:15px; color:var(--accent); }
.prose { max-width:72ch; }
.prose h2 { font-family:var(--font-display); font-weight:600; text-transform:uppercase; color:var(--text-strong); font-size:clamp(24px,2.6vw,34px); line-height:1.1; margin:56px 0 16px; }
.prose h2:first-child { margin-top:0; }
.prose h3 { font-family:var(--font-display); font-weight:600; text-transform:uppercase; color:var(--text-strong); font-size:20px; margin:32px 0 10px; }
.prose p, .prose li { font-family:var(--font-body); font-size:17px; line-height:1.7; color:var(--text-muted); }
.prose p { margin:0 0 16px; }
.prose ul, .prose ol { margin:0 0 20px; padding-left:22px; }
.prose li { margin:0 0 8px; }
.prose strong { color:var(--text-strong); font-weight:600; }
.prose a { color:var(--accent-bright); text-decoration:underline; text-underline-offset:3px; }
.sp-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:clamp(32px,5vw,72px); align-items:start; }
.sp-aside { position:sticky; top:110px; display:flex; flex-direction:column; gap:20px; }
.sp-card { background:var(--ink-800); border:1px solid var(--border-default); border-radius:var(--radius-md); padding:24px; }
.sp-card h2, .sp-card h3 { font-family:var(--font-display); font-weight:600; text-transform:uppercase; color:var(--text-strong); font-size:20px; margin:0 0 14px; }
.sp-card p { font-family:var(--font-body); font-size:15px; line-height:1.6; color:var(--text-muted); margin:0 0 16px; }
.sp-card .btn { width:100%; }
.sp-card .btn + .btn { margin-top:10px; }
.sp-price { width:100%; border-collapse:collapse; font-family:var(--font-body); font-size:15px; }
.sp-price td { padding:10px 0; border-bottom:1px solid var(--border-subtle); color:var(--text-muted); vertical-align:top; }
.sp-price td:last-child { text-align:right; color:var(--text-strong); font-family:var(--font-mono); white-space:nowrap; padding-left:12px; }
.sp-note { font-family:var(--font-mono); font-size:12px; color:var(--text-faint); margin:12px 0 0; }
.sp-figure { margin:32px 0; }
.sp-figure img { width:100%; height:auto; border-radius:var(--radius-md); border:1px solid var(--border-default); display:block; }
.sp-figure figcaption { font-family:var(--font-mono); font-size:12px; color:var(--text-faint); margin-top:10px; }
.sp-related { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:28px; }
.sp-related a { display:block; padding:20px 22px; background:var(--ink-800); border:1px solid var(--border-default); border-radius:var(--radius-md); font-family:var(--font-display); font-weight:600; text-transform:uppercase; color:var(--text-strong); font-size:17px; transition:border-color var(--dur-fast); }
.sp-related a:hover { border-color:var(--accent); }
.sp-related a span { display:block; font-family:var(--font-body); font-weight:400; text-transform:none; font-size:14px; color:var(--text-muted); margin-top:6px; }
.svc-more { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-bright); }
.svc-more:hover { text-decoration:underline; text-underline-offset:3px; }
.page-faq .faq { margin-top:24px; }
@media (max-width:900px) {
  .sp-hero-grid, .sp-layout { grid-template-columns:1fr; }
  .sp-aside { position:static; }
  .sp-hero-img { max-width:520px; }
}
