/* Každý může zachránit — barvy sdílené s barikaduj.cz, vlastní typografie a rozvržení */

/* Fonty – stejné soubory jako barikaduj.cz (self-hosted) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/archivo-latin-ext-800.woff2") format("woff2"); unicode-range:U+0000-00FF,U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-400.woff2") format("woff2"); unicode-range:U+0000-00FF,U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext-600.woff2") format("woff2"); unicode-range:U+0000-00FF,U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* identita (shodná s Barikáduj) */
  --navy: #0A1730;
  --navy-2: #0E2145;
  --blue: #1A4FA8;
  --blue-d: #123A7C;
  --red: #C41E22;
  --red-d: #8F1417;
  --ink-on-dark: #F5F7FB;
  --muted-on-dark: #8FA3C4;
  --line-on-dark: rgba(245, 247, 251, .14);

  --paper: #FFFFFF;
  --paper-2: #F2F5FA;
  --ink: #13233F;
  --muted: #5A6B87;
  --line: #DCE3EE;

  --display: "Archivo", "Archivo Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 2px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .section-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Typography */
h1, h2, h3, .brief-title { font-family: var(--display); font-weight: 800; color: var(--ink); letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.3vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.18; }
h3 { font-size: 1.28rem; line-height: 1.3; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

.kicker, .eyebrow, .brief-label { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; margin-top: 18px; }
.num { display: block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font-family: var(--sans); font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-ghost { border-color: rgba(245, 247, 251, .4); color: var(--ink-on-dark); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue-d); }
.textlink { display: inline-block; font-weight: 600; font-size: 0.95rem; color: var(--blue); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.textlink::after { content: " →"; }
.textlink:hover { color: var(--blue-d); }
.textlink-light { color: #fff; }
.textlink-light:hover { color: #A9C1EC; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(82vh, 820px); background: var(--navy); color: #D3DCEC; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 23, 48, .96) 0%, rgba(10, 23, 48, .88) 38%, rgba(14, 33, 69, .55) 72%, rgba(14, 33, 69, .4) 100%), rgba(26, 79, 168, .22); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 136px); }
.hero h1 { color: #fff; max-width: 15em; }
.hero h1 em { display: block; font-style: normal; color: #A9C1EC; }
.hero .eyebrow { color: #A7B8D6; }
.lead { font-size: 1.14rem; max-width: 56ch; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Subpage head */
.page-hero { background: var(--navy); color: #C5D1E6; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); border-bottom: 3px solid var(--blue); }
.page-hero h1 { color: #fff; max-width: 20em; font-size: clamp(2rem, 3.8vw, 3rem); }
.page-hero .eyebrow { color: #A7B8D6; }
.page-hero .lead { color: #C5D1E6; }

.brief { background: var(--navy); color: var(--ink-on-dark); border-top: 1px solid var(--line-on-dark); }
.brief dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.brief dl > div { padding: 28px 28px 30px 0; margin-right: 28px; border-right: 1px solid var(--line-on-dark); }
.brief dl > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.brief dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); }
.brief dd { font-size: 0.97rem; line-height: 1.5; margin-top: 4px; }

/* Photo slots (dočasné – nahradit <img>) */
.ph { position: relative; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); border: 1px solid #C9D3E3; background: repeating-linear-gradient(135deg, #E9EEF6 0 14px, #E2E8F2 14px 28px); }
.ph span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 255, 255, .85); padding: 10px 16px; }
.ph small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; margin-top: 2px; }
.ph-43 { aspect-ratio: 4 / 3; margin-top: 40px; }
.ph-32 { aspect-ratio: 3 / 2; }
.ph-wide { aspect-ratio: 12 / 5; margin-bottom: clamp(40px, 5vw, 60px); }
.ph-portrait { aspect-ratio: 3 / 4; padding: 8px; }
.ph-dark { color: var(--muted-on-dark); border-color: var(--line-on-dark); background: repeating-linear-gradient(135deg, #122448 0 14px, #0F1F40 14px 28px); }
.ph-dark span { background: rgba(10, 23, 48, .8); padding: 8px 10px; font-size: 0.7rem; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }

/* Clients */
.clients-section { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.clients-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.clients-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 22em; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients-grid li { background: var(--paper); min-height: 116px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.clients-grid strong { font-family: var(--display); font-weight: 800; font-size: 1.22rem; line-height: 1.25; color: var(--ink); }
.clients-grid span { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.clients-grid img { max-height: 44px; width: auto; max-width: 160px; }
.clients-grid .clients-cta { padding: 0; background: var(--paper-2); }
.clients-cta a { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 24px; text-decoration: none; }
.clients-cta strong, .clients-cta span { color: var(--blue); }
.clients-cta a:hover { background: #E6ECF6; }
.clients-quote { margin-top: 36px; padding-left: 24px; border-left: 3px solid var(--blue); max-width: 820px; }
.clients-quote blockquote { font-family: var(--sans); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; }
.clients-quote figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.clients-quote figcaption strong { color: var(--ink); }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #C5D1E6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--muted-on-dark); }
.section-dark .section-lead { color: #C5D1E6; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 600; }
.section-dark .prose strong { color: #fff; }
.prose blockquote { margin-top: 36px; padding-left: 24px; border-left: 3px solid var(--blue); }
.prose blockquote p { font-family: var(--sans); font-weight: 400; font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.prose cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.88rem; color: var(--muted); }

.statement { font-family: var(--sans); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; color: var(--ink); margin-top: 28px; padding-left: 22px; border-left: 3px solid var(--red); }
.prose .statement { margin-block: 1.4em; }
.section-dark .statement { color: #fff; }

/* Focus areas */
.focus { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
.focus li { padding-top: 18px; border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.focus .num { margin-bottom: 8px; font-family: var(--sans); }

/* Services overview (home) */
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section-head-row > div { max-width: 760px; }

/* Services list (sluzby) */

/* Featured pair */

/* Team teaser (home) */
.people-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
.person-mini .ph { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.person-mini h3 { font-size: 1.15rem; }
.person-mini p { font-size: 0.88rem; color: var(--muted-on-dark); margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--navy-2); color: #C5D1E6; padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line-on-dark); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px 64px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-phone { font-family: var(--sans); font-weight: 600; font-size: 1.3rem; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-on-dark); }
.cta-phone:hover { border-color: #fff; }

/* Product */
.btn-row { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 28px; }

/* Process */

/* Pillars */

/* Services — three pillars (home) */

/* Barikáduj scene (animace převzatá z barikaduj.cz) */
.scene { position: relative; background: radial-gradient(120% 90% at 60% 30%, #16305F 0%, var(--navy) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.scene svg { display: block; height: 100%; width: auto; max-width: 100%; }
.scene-cap { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); padding: 8px 0 12px; }
.g-brace{transform-origin:196px 212px;animation:braceIn 10s infinite}
.g-hold{animation:holdShake 10s infinite}
.g-ext{animation:extend 10s infinite}
.g-sleeve{animation:lockDown 10s infinite}
.g-latch{transform-origin:202px 330px;animation:latchFlip 10s infinite}
.g-doorshake{animation:doorShake 10s infinite}
.fx-shadow{animation:shadowIn 10s infinite}
.fx-flash{opacity:0;transform-origin:196px 317px;animation:flash 10s infinite}
.fx-hit1{opacity:0;transform-origin:263px 214px;animation:hit1 10s infinite}
.fx-hit2{opacity:0;transform-origin:263px 214px;animation:hit2 10s infinite}

@keyframes braceIn{
  0%{opacity:0;transform:translate(112px,-62px) rotate(-8deg);animation-timing-function:cubic-bezier(.22,.55,.3,1)}
  4%{opacity:1}
  15%{transform:translate(5px,-5px) rotate(-1deg);animation-timing-function:cubic-bezier(.35,0,.2,1)}
  21%{transform:translate(0,1.5px) rotate(0deg);animation-timing-function:cubic-bezier(.3,.6,.3,1)}
  24%{transform:none}
  92%{opacity:1;transform:none}
  98%,100%{opacity:0;transform:none}
}

@keyframes latchFlip{
  0%,26%{transform:rotate(-180deg);animation-timing-function:cubic-bezier(.4,0,.2,1)}
  31%,100%{transform:rotate(0deg)}
}

@keyframes extend{
  0%,31%{transform:translateY(-105px);animation-timing-function:cubic-bezier(.55,0,.85,.45)}
  37%{transform:translateY(4px);animation-timing-function:cubic-bezier(.3,.7,.4,1)}
  40%,100%{transform:translateY(0)}
}

@keyframes shadowIn{
  0%,35%{opacity:0}
  40%,92%{opacity:1}
  98%,100%{opacity:0}
}

@keyframes lockDown{
  0%,44%{transform:translateY(-86px);animation-timing-function:cubic-bezier(.4,0,.3,1)}
  49%{transform:translateY(3px);animation-timing-function:cubic-bezier(.3,.7,.4,1)}
  52%,100%{transform:translateY(0)}
}

@keyframes flash{
  0%,51%{opacity:0;transform:scale(.4)}
  54%{opacity:.55;transform:scale(1)}
  61%,100%{opacity:0;transform:scale(1.5)}
}

@keyframes doorShake{
  0%,62%{transform:none}
  63.5%{transform:translateX(2.4px)}
  65%{transform:translateX(-1.4px)}
  66.5%,71%{transform:none}
  72.5%{transform:translateX(2.2px)}
  74%{transform:translateX(-1.2px)}
  75.5%,100%{transform:none}
}

@keyframes holdShake{
  0%,62%{transform:none}
  64%{transform:translateX(.8px)}
  66%,71.5%{transform:none}
  73%{transform:translateX(.7px)}
  75%,100%{transform:none}
}

@keyframes hit1{
  0%,62%{opacity:0;transform:scale(.5)}
  64%{opacity:.85;transform:scale(1)}
  68%,100%{opacity:0;transform:scale(1.35)}
}

@keyframes hit2{
  0%,71%{opacity:0;transform:scale(.5)}
  73%{opacity:.75;transform:scale(1)}
  77%,100%{opacity:0;transform:scale(1.3)}
}


@media (prefers-reduced-motion: reduce) {
  .scene * { animation: none !important; }
  .fx-flash, .fx-hit1, .fx-hit2 { opacity: 0 !important; }
}

/* Photos */
.story-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 40px; }

/* Logo marquee */
.clients-section { overflow: hidden; }
.clients-section .clients-head { margin-bottom: 40px; }
.marquee { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: 96px; padding-right: 96px; animation: marquee 38s linear infinite; }
.marquee li { flex: none; height: 150px; display: flex; align-items: center; }
.mq-logo { display: block; height: 116px; max-width: 280px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.mq-logo-text { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden] { display: none; }
}

/* Reviews */
.review { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.review-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 26px; }
.review-org { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 56px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.review-logo { max-height: 56px; max-width: 130px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.review-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #1E6B45; background: #E8F4EC; padding: 5px 10px 5px 8px; border-radius: 99px; }
.review-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.review blockquote { margin: 22px 0 0; }
.review-pull { font-family: var(--display); font-weight: 800; font-size: 1.28rem; line-height: 1.35; color: var(--ink); }
.review-text { margin-top: 14px; font-size: 0.93rem; line-height: 1.65; color: var(--muted); }
.review-text p + p { margin-top: 0.7em; }
.review figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; font-size: 0.86rem; line-height: 1.4; color: var(--muted); }
.review figcaption strong { display: block; font-size: 0.97rem; color: var(--ink); }
.review-avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 0.95rem; }
.review-featured { display: grid; grid-template-columns: 1fr 1.1fr; margin-bottom: 24px; }
.review-featured .review-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.review-featured .review-pull { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.review-featured .review-body { padding: clamp(28px, 4vw, 48px); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.slider-count { min-width: 64px; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider-btn:disabled, .slider-btn:disabled:hover { opacity: .35; cursor: default; background: var(--paper); color: var(--ink); border-color: #B4C0D4; }
.slider-btn { width: 48px; height: 48px; font: inherit; font-size: 1.2rem; color: var(--ink); background: var(--paper); border: 1px solid #B4C0D4; border-radius: 50%; cursor: pointer; }
.slider-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.review-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.review-slider::-webkit-scrollbar { display: none; }
.review-slider .review { scroll-snap-align: start; }
.review-grid { columns: 2; column-gap: 24px; }
.review-grid .review { break-inside: avoid; margin-bottom: 24px; }

/* Hero v2 — štít + časová osa */
.hero2 { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 85% 20%, #16305F 0%, var(--navy) 60%); color: #C5D1E6; padding-top: clamp(56px, 7vw, 96px); }
.hero2-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero2 h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.05rem); line-height: 1.1; }
.hero2 h1 em { display: block; font-style: normal; color: #A9C1EC; }
.hero2 .eyebrow { color: #A7B8D6; }
.hero2 .lead { color: #C5D1E6; }
.hero2-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 40px; }
.hero-call { display: flex; flex-direction: column; color: #fff; text-decoration: none; font-family: var(--sans); font-weight: 600; font-size: 1.3rem; line-height: 1.2; padding-left: 32px; border-left: 1px solid var(--line-on-dark); }
.hero-call span { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 4px; }
.hero-call:hover { color: #A9C1EC; }
.hero2-visual { justify-self: end; width: min(100%, 440px); }
.shield { display: block; width: 100%; height: auto; overflow: visible; }
.shield-edge { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.shield image { filter: saturate(.85) contrast(1.05); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line-on-dark); }
.timeline::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue) 0%, #6E95D8 50%, var(--red) 100%); transform-origin: left; animation: tlDraw 1.4s .4s cubic-bezier(.3, .6, .2, 1) both; }
.timeline li { position: relative; padding: 36px 32px 48px 0; }
.timeline li + li { padding-left: 32px; border-left: 1px solid var(--line-on-dark); }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid #6E95D8; }
.timeline li + li::before { left: -7px; }
.timeline li:last-child::before { border-color: var(--red); }
.tl-when { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.timeline .tl-title { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 6px 0 10px; }
.timeline p:not(.tl-when) { font-size: 0.97rem; line-height: 1.6; }
.timeline a { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.92rem; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-on-dark); }
.timeline a::after { content: " →"; }
.timeline a:hover { border-color: #fff; }
@keyframes tlDraw { from { transform: scaleX(0); } }
.hero2 :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .timeline::before { animation: none; } }

/* Review head: logo + autor */
.review-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.review-head .review-logo { flex: none; max-height: 64px; max-width: 110px; }
.review-who { font-style: normal; font-size: 0.86rem; line-height: 1.4; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line); }
.review-who:first-child { padding-left: 0; border-left: 0; }
.review-who strong { display: block; font-size: 1rem; color: var(--ink); }

/* Team teaser */
.team-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.tt-photo { margin: 0; }
.tt-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tt-photo figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--muted-on-dark); }
.tt-lead { margin-top: 18px; }
.portrait { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; margin-bottom: 22px; }
.portrait-empty { display: grid; place-items: center; background: var(--navy-2, #0E2145); color: rgba(255, 255, 255, .35); font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: 0.04em; }

/* Intro (home) */
.intro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-head { position: static; }
.intro-statement { font-family: var(--sans); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; color: var(--ink); padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.hero2 { padding-bottom: clamp(56px, 7vw, 96px); }

.ext-tag { display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin: 2px 0 1px; }
.person .ext-tag { display: inline-block; margin: 8px 0 2px; padding: 3px 9px; font-size: 0.64rem; border: 1px solid var(--line-on-dark); border-radius: 99px; }
.person .ext-tag + .role { margin-top: 4px; }

/* Lecture steps */


/* USB */

/* Audience */
.audience li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid #C9D3E3; }
.audience li:last-child { border-bottom: 1px solid #C9D3E3; }
.audience strong { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.audience span { font-size: 0.92rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.services article { padding: 28px 0 36px; border-top: 2px solid var(--ink); }
.services h3 { margin: 10px 0 8px; }
.services p { font-size: 0.96rem; color: var(--muted); }

/* Quotes — sloupcová skladba, snese libovolný počet */
.quotes { columns: 3; column-gap: 24px; }
.quote { break-inside: avoid; margin: 0 0 24px; background: var(--paper); padding: 30px 30px 26px; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.quote blockquote { font-size: 1rem; }
.quote figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.quote figcaption strong { display: block; font-size: 0.96rem; color: var(--ink); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.person .ph { margin-bottom: 22px; }
.avatar { width: 72px; height: 72px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: #fff; border: 1px solid rgba(245, 247, 251, .35); border-radius: 50%; }
.person .role { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin: 6px 0 14px; }
.person p:last-child { font-size: 0.96rem; }

/* FAQ */
.section-tint .faq details, .section-tint .faq details:last-child { border-color: #C9D3E3; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-list span { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list p { font-size: 0.97rem; line-height: 1.6; }
.contact-list a { font-family: var(--sans); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.form { background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; color: var(--ink); background: var(--paper); border: 1px solid #B4C0D4; border-radius: var(--radius); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { resize: vertical; }
.field select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A4FA8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-on-dark); font-size: 0.92rem; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer .brand { color: #fff; align-self: start; }
.site-footer .brand img { background: #fff; padding: 5px; width: 50px; border-radius: var(--radius); }
.site-footer .brand-text small { color: var(--muted-on-dark); }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-block: 22px; font-size: 0.85rem; }

/* Responsive */
/* Služby – rejstřík (home) */
.register { border-top: 2px solid var(--ink); }
.reg-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 24px clamp(32px, 4vw, 64px); align-items: start; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.reg-body h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: 10px; }
.reg-body p { color: var(--muted); font-size: 0.97rem; max-width: 34em; }
.reg-link { margin-top: 20px; }
.reg-fig { margin: 0; }
.reg-fig-sheet { background: #fff; border: 1px solid var(--line); }
.reg-links2 { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.reg-photos { position: relative; aspect-ratio: 420 / 260; }
.rp-main { position: absolute; left: 0; top: 0; width: 76%; height: 84%; object-fit: cover; }
.rp-inset { position: absolute; right: 0; bottom: 0; width: 46%; height: 50%; object-fit: cover; border: 6px solid var(--paper-2); border-right: 0; border-bottom: 0; }
.bp text.hd { fill: #fff; font-size: 9.5px; }
.bp text.hd-r { fill: #A9C1EC; }
.bp text.num { fill: #fff; font-size: 10px; letter-spacing: 0; }
.bp { display: block; width: 100%; height: auto; }
.bp .gd { fill: #D9E1EC; }
.bp .w { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.bp .w-thin { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.bp .t { fill: none; stroke: #9AA9C2; stroke-width: 1; }
.bp .b { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 6 5; }
.bp .b-solid { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp .r { fill: #fff; stroke: var(--red); stroke-width: 2; }
.bp path.r { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp .rf { fill: var(--red); }
.bp .bf { fill: var(--blue); }
.bp .if { fill: var(--ink); }
.bp text { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .12em; fill: var(--muted); }
.bp text.sm { font-size: 6.5px; fill: var(--blue); }
.bp text.ink { fill: var(--ink); font-size: 10px; }
.bp text.v { writing-mode: vertical-rl; }
.bp .flow { animation: bp-flow 1.4s linear infinite; }
@keyframes bp-flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .bp .flow { animation: none; } }

@media (max-width: 980px) {
  .reg-row { grid-template-columns: 1fr 1fr; }
  .split, .contact { grid-template-columns: 1fr; }
  .brief dl { grid-template-columns: 1fr 1fr; }
  .brief dl > div { padding: 22px 20px 22px 0; margin-right: 20px; }
  .brief dl > div:nth-child(2n) { border-right: 0; margin-right: 0; }
  .brief dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-on-dark); }
  .ph-43 { max-width: 560px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .focus { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .review-featured, .hero2-grid, .team-teaser, .intro { grid-template-columns: 1fr; }
  .intro-head { position: static; }
  .hero2-visual { justify-self: start; width: min(70%, 360px); }
  .review-slider { grid-auto-columns: calc((100% - 24px) / 2); }
  .review-featured .review-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .faq-head { position: static; }
  .quotes { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .brand { grid-column: 1 / -1; }

  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(10, 23, 48, .25); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 640px) {
  .reg-row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand-text small { display: none; }
  .services, .field-row, .footer-grid, .people-mini, .team { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .person-mini { display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: center; }
  .person-mini .ph { grid-row: span 2; margin: 0; aspect-ratio: 1; padding: 4px; }
  .person-mini .ph span { font-size: 0.6rem; padding: 4px; }
  .quotes, .review-grid { columns: 1; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-on-dark); margin-left: 6px; }
  .timeline::before { width: 2px; height: 100%; left: -1px; top: 0; background: linear-gradient(180deg, var(--blue), #6E95D8, var(--red)); }
  .timeline li, .timeline li + li { padding: 0 0 36px 28px; border-left: 0; }
  .timeline li::before, .timeline li + li::before { top: 4px; left: -7px; }
  .hero-call { padding-left: 0; border-left: 0; }
  .review-slider { grid-auto-columns: 86%; }
  .marquee-track { gap: 44px; padding-right: 44px; }
  .mq-logo { height: 80px; max-width: 190px; }
  .marquee li { height: 104px; }
  .review-org { flex-wrap: wrap; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid li, .clients-cta a { padding: 16px; min-height: 96px; }
  .clients-grid strong { font-size: 1.05rem; }
  .person .ph, .portrait { max-width: 240px; }
  .hero-cta .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .brief dl, .ph-row { grid-template-columns: 1fr; }
  .brief dl > div, .brief dl > div:nth-child(-n+2) { border-right: 0; margin-right: 0; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); }
  .brief dl > div:last-child { border-bottom: 0; }
  .hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Zkrácené reference ve slideru */
.review-slider .review-text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-slider .review.open .review-text { display: block; }
.review-more { align-self: flex-start; margin-top: 10px; padding: 0; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--blue); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
.review-grid .review-more, .review-featured .review-more { display: none; }

/* ===== Služby ===== */
.phone-dark { font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.phone-dark:hover { color: var(--blue); }


.area-n { font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: var(--red); letter-spacing: 0.04em; margin-bottom: 8px; }

/* ===== Přednáška ===== */
.lec-hero { background: radial-gradient(90% 80% at 85% 20%, #16305F 0%, var(--navy) 60%); color: #C5D1E6; padding-block: clamp(56px, 7vw, 96px); }
.lec-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lec-hero .eyebrow { color: #A7B8D6; }
.lec-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.05; }
.lec-claim { margin-top: 16px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #E6ECF5; max-width: 24em; }
.lec-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.lec-h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 28px; }
.lec-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lec-photos { position: relative; aspect-ratio: 420 / 300; }
.lec-photos img { position: absolute; object-fit: cover; }
.lec-photos img:first-child { left: 0; top: 0; width: 72%; height: 78%; }
.lec-photos img:last-child { right: 0; bottom: 0; width: 50%; height: 50%; border: 6px solid var(--paper); border-right: 0; border-bottom: 0; }
.lec-for { border-top: 2px solid var(--ink); }
.lec-for li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.lec-small { margin-top: 18px; font-size: 0.93rem; color: var(--muted); }
.lec-lector { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lec-lector img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.lec-lector .lec-h2 { max-width: 16em; margin-bottom: 16px; }
.lec-lector p { max-width: 36em; color: var(--muted); }
.lec-name { margin: 22px 0 18px; padding-left: 14px; border-left: 3px solid var(--blue); font-size: 0.9rem; }
.lec-name strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
@media (max-width: 980px) {
  .lec-hero-grid, .lec-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .lec-lector { grid-template-columns: 1fr; }
  .lec-lector img { max-width: 240px; }
}

/* Spolupráce – tok */
.flow-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.flow-split h2 { margin: 0; }
.flow-split .kicker { margin-bottom: 10px; }
.flow-split > p { font-size: 1.14rem; color: var(--muted); max-width: 34em; margin: 0; }
/* Přednáška – meta + USB */
.lec-meta { display: block; margin: 28px 0 32px; padding-top: 16px; border-top: 1px solid var(--line-on-dark); font-size: 0.95rem; color: #C5D1E6; }
/* Najíždění */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .flow-split { grid-template-columns: 1fr; }
}
.cta-light { background: var(--paper-2); color: var(--muted); border-top: 0; }
.cta-light h2 { color: var(--ink); }
.cta-light p { color: var(--muted); }
.lec-meta span:first-child { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 2px; }
.lec-meta span + span + span::before { content: " · "; color: #6E84AA; }
/* Právní dokumenty */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal p + p, .legal ul + p, .legal table + p { margin-top: 1em; }
.legal ul { margin: .6em 0 0; padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: .3em; }
.legal li::marker { color: var(--blue); }
.legal b, .legal strong, .legal ul span { font-weight: 600; }
.legal a { color: var(--blue); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .95rem; }
.legal th { text-align: left; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.legal th, .legal td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 560px) { .legal table, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal td:first-child { font-weight: 600; padding-bottom: 0; border: 0; } }
/* 404 */
.notfound { min-height: 56vh; display: flex; align-items: center; }
.notfound .lead + .lead { margin-top: 10px; }
.notfound-actions { margin-top: 36px; }
.form-note { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.form-note a { color: var(--blue); }
/* Služby – jedna služba ze tří částí */
.system { padding-block: clamp(56px, 7vw, 96px) 0; }
/* Přednáška – program jako časová osa */
.tl-phases { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 20px; margin-bottom: 18px; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tl-phases span:first-child { color: var(--blue); }
.tl-phases span:last-child { color: var(--red); }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) 56px repeat(3, 1fr); gap: 0 20px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0 47%, var(--red) 53% 100%); }
.tl-item { position: relative; padding-top: 44px; }
.tl-item::before { content: ""; position: absolute; top: 3px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--blue); }
.tl-item.crisis::before { border-color: var(--red); }
.tl-item b { display: block; font-family: var(--display); font-weight: 800; font-size: 0.85rem; color: var(--blue); margin-bottom: 6px; }
.tl-item.crisis b { color: var(--red); }
.tl-item h3 { font-size: 1.1rem; line-height: 1.2; margin-bottom: 8px; }
.tl-item p { font-size: 0.88rem; color: var(--muted); }
.tl-moment { position: relative; display: flex; justify-content: center; }
.tl-moment::before { content: ""; position: absolute; top: -18px; bottom: -10px; left: 50%; border-left: 2px dashed var(--red); }
@media (max-width: 860px) {
  .tl-phases { display: none; }
  .tl-track { grid-template-columns: 1fr; gap: 0; }
  .tl-track::before { left: 10px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background: linear-gradient(180deg, var(--blue) 0 47%, var(--red) 53% 100%); }
  .tl-item { padding: 0 0 28px 44px; }
  .tl-item::before { left: 2px; top: 2px; }
  .tl-moment { padding: 0 0 28px 44px; }
  .tl-moment::before { position: static; display: block; width: 100%; border-left: 0; border-top: 2px dashed var(--red); }
  }

/* Služby – seznam služeb v oblasti */
.reg-row { scroll-margin-top: var(--header-h); }
.reg-body h3 { margin-bottom: 22px; }
.reg-lead { margin-bottom: 20px; }
.reg-list { display: grid; gap: 20px; }
.reg-list li { padding-left: 16px; border-left: 2px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-toggle { all: unset; }
.reg-list h4 { font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 6px; }
.reg-list p { font-size: 0.93rem; color: var(--muted); }
@media (min-width: 981px) { .reg-row-flip { grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); } }
@media (min-width: 641px) { .reg-row-flip .reg-fig { order: -1; } }
.anchor { display: block; scroll-margin-top: var(--header-h); }
.reg-body .area-n { color: var(--red); font-size: 0.95rem; }

/* Úvod – graf kriminality */
.stat-band { background: var(--paper-2); padding-block: clamp(48px, 6vw, 80px); }
.stat { margin: 0; }
.stat-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 10px 0 clamp(24px, 3vw, 36px); }
.stat-title em { font-style: normal; color: var(--red); }
.stat-rows { display: grid; gap: 18px; }
.stat-rows li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 14rem; gap: 20px; align-items: center; }
.sr-year { font-weight: 600; font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sr-bar { display: block; height: 22px; }
.sr-bar span { display: block; width: var(--w); height: 100%; background: #C9D2E0; }
.sr-val { font-size: 0.95rem; color: var(--muted); line-height: 1.35; }
.sr-val strong { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sr-val small { display: block; font-size: 0.82rem; }
.is-latest .sr-year, .is-latest .sr-val, .is-latest .sr-val strong { color: var(--ink); }
.is-latest .sr-bar span { background: var(--red); }
.st-src { margin-top: 20px; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 640px) {
  .stat-rows li { grid-template-columns: 3.2rem minmax(0, 1fr); gap: 6px 14px; }
  .sr-val { grid-column: 2; }
}
.intro-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }

.scene-reg { aspect-ratio: 420 / 260; padding: 18px 0 0; }
.scene-reg svg { height: calc(100% - 34px); }
p, li, figcaption { text-wrap: pretty; }

/* ===== Mobil (jen do 640 px) – úpravy 2026-10-03 ===== */
.only-mobile { display: none; }
@media (max-width: 640px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  /* Loga klientů: kratší pás → rychlejší kolo, ať pohyb působí jako na PC */
  .marquee-track { animation-duration: 16s; }

  /* Služby: méně obrázků, menší písmo, popisy služeb až po klepnutí */
  .flow-split h2 { font-size: 1.5rem; }
  .flow-split > p { font-size: 0.95rem; }
  .reg-row { gap: 16px; padding-block: 32px; }
  #oblast-1 .reg-fig, #oblast-2 .reg-fig { order: -1; }
  .reg-body .area-n { font-size: 0.8rem; margin-bottom: 4px; }
  .reg-body h3 { font-size: 1.15rem; margin-bottom: 14px; }
  .reg-lead { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
  .reg-list { gap: 0; border-top: 1px solid var(--line); }
  .reg-list li { padding: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .reg-list h4 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 0.95rem; }
  .svc-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 13px 0; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .svc-toggle::after { content: "+"; flex: none; font-family: var(--sans); font-weight: 400; font-size: 1.2rem; line-height: 1; color: var(--blue); transition: transform .2s; }
  .reg-list li.open .svc-toggle::after { transform: rotate(45deg); }
  .reg-list li > p { display: none; font-size: 0.85rem; line-height: 1.55; padding-bottom: 14px; }
  .reg-list li.open > p { display: block; }
  .reg-body .textlink { margin-top: 16px; font-size: 0.88rem; }
  /* BARIKÁDUJ: animace na mobilu skrytá */
  #barikaduj .reg-fig { display: none; }
  /* Tým: malá fotka vlevo, text vpravo */
  .team { gap: 0; }
  .person { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; align-items: start; padding-block: 22px; border-top: 1px solid var(--line-on-dark); }
  .person:first-child { border-top: 0; padding-top: 0; }
  .person .portrait { grid-row: 1 / span 4; max-width: none; width: 88px; margin: 0; }
  .person .portrait-empty { font-size: 1.4rem; }
  .person h3 { font-size: 1.02rem; line-height: 1.3; margin: 0; }
  .person .ext-tag { justify-self: start; margin: 6px 0 8px; }
  .person p:not(.ext-tag):not(.role) { font-size: 0.86rem; line-height: 1.55; }

  /* Patička: kompaktní */
  .site-footer { padding-top: 28px; font-size: 0.8rem; }
  .footer-grid { gap: 14px; padding-bottom: 18px; }
  .footer-grid > div:nth-child(2) { display: none; }
  .site-footer h4 { display: none; }
  .site-footer .brand img { width: 34px; padding: 3px; }
  .site-footer .brand-text strong { font-size: 0.95rem; }
  .site-footer .brand-text small { display: none; }
  .footer-grid p { line-height: 1.5; }
  .footer-grid > div:nth-child(4) br { display: none; }
  .footer-grid > div:nth-child(4) a { white-space: nowrap; }
  .footer-grid > div:nth-child(4) a + br + a::before { content: "·"; margin: 0 8px; color: var(--muted-on-dark); }
  .footer-bottom { padding-block: 12px; font-size: 0.72rem; }
}
