/* EVOQUE MANAGEMENT
   Motif: the logo's forward slant (≈12°). It appears in the display type,
   the parallelogram buttons and the cyan speed-bars — nowhere else. */

:root {
  --black: #000000;
  --panel: #070d12;          /* blue-cast black, used for raised surfaces only */
  --panel-2: #0c151c;
  --white: #f3f6f8;
  --mute: #8b96a1;
  --line: rgba(243, 246, 248, 0.12);
  --cyan: #00aeff;            /* sampled from the logo */
  --cyan-deep: #0077b3;
  --slant: -12deg;

  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--cyan); color: #000; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1.14; /* místo na háčky a čárky nad velkými písmeny */
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 8.4vw, 8.2rem); }
h2 { font-size: clamp(min(2.1rem, 7.6vw), 5.6vw, 5rem); }
/* dlouhá německá slova: slova se nedělí, na mobilu je menší nadpis */
html[lang="de"] h2 { font-size: clamp(min(2.1rem, 6.9vw), 5.6vw, 5rem); }
/* dvouřádkové nadpisy: řádky pod sebou šikmo, stejně jako sklon písma */
h2:has(br) { text-indent: .3em; }
h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--white); max-width: 60ch; }
.muted { color: var(--mute); }
.small { font-size: .88rem; }
.kicker { color: var(--cyan); font-weight: 600; font-size: 1rem; margin: 0 0 1.1rem; }

/* ---------- Buttons: parallelograms, like the logo letterforms ---------- */
.btn {
  --bg: var(--cyan); --fg: #000;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px;
  padding: 0 2.1rem;
  font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 115%;
  font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  transform: skewX(var(--slant));
  transition: transform .35s var(--ease), background .25s;
}
.btn:hover::before { transform: skewX(var(--slant)) scaleX(1.05); }
.btn--ghost { --bg: transparent; --fg: var(--white); }
.btn--ghost::before { border: 1.5px solid var(--white); }
.btn--ghost:hover { --fg: #000; }
.btn--ghost:hover::before { background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { background: rgba(0,0,0,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { white-space: nowrap; }
.nav a { text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 44px; padding: 0 1.4rem; font-size: .85rem; color: #000; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transform: skewX(var(--slant)); transition: transform .3s; }

@media (max-width: 1280px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; flex-direction: column; justify-content: center; gap: 1.3rem;
    background: var(--black); transform: translateY(-100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
  }
  body.nav-open .nav { visibility: visible; transition: transform .45s var(--ease); }
  .nav a { font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 120%; font-size: 1.6rem; text-transform: uppercase; color: var(--white); }
  .nav .btn { font-size: 1rem; margin-top: 1rem; }
  body.nav-open .nav { transform: none; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--panel { background: var(--panel); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: clamp(48px, 7vw, 90px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
}

/* Speed-bar divider: three slanted cyan strokes */
.bars { display: flex; gap: 7px; height: 14px; margin-bottom: 1.6rem; }
.bars i { display: block; width: 34px; background: var(--cyan); transform: skewX(var(--slant)); }
.bars i:nth-child(2) { width: 18px; opacity: .65; }
.bars i:nth-child(3) { width: 9px; opacity: .35; }

/* ---------- Hero: split, media on the right ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; z-index: 0; background: #02070b; }
.hero__media canvas, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 18%, rgba(0,0,0,0) 45%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 30%);
}
.hero .wrap { position: relative; z-index: 2; }
.money-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 7.4rem); }
@media (max-width: 899px) { .hero h1 { font-size: clamp(1.8rem, 9.4vw, 5rem); } }
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; padding-right: .18em; margin-right: -.18em; }
.hero h1 .line span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
.hero h1 .line:last-child span { color: var(--cyan); }
@keyframes rise { to { transform: none; } }
.hero__sub { margin-top: clamp(28px, 3.4vw, 44px); max-width: 680px; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero__sub .lead { font-size: 1.05rem; margin: 0 0 2.2rem; max-width: 560px; }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 899px) {
  .hero { align-items: flex-end; }
  .hero__media { width: 100%; opacity: .55; }
  .hero__media::after { background: linear-gradient(0deg, #000 10%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.2)); }
}

/* hlavní úvod podstránek: modrý podklad, černý text (barvy jako .cta-band) */
.page-hero { padding: 170px 0 clamp(60px, 9vw, 110px); overflow: hidden; background: var(--cyan); color: #000; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(min(2rem, 8vw), 7vw, 6.6rem); max-width: 14ch; }
.page-hero .lead { margin-top: 2rem; color: #000; }
.page-hero .kicker { color: #000; }
.page-hero .btn { --bg: #000; --fg: var(--white); }
.page-hero .btn--ghost { --bg: transparent; --fg: #000; }
.page-hero .btn--ghost::before { border-color: #000; }
.page-hero .btn--ghost:hover { --fg: var(--white); }
.page-hero .btn--ghost:hover::before { background: #000; }
.page-hero::after {
  content: ""; position: absolute; right: -8vw; top: -10%; width: 40vw; height: 120%;
  background: rgba(0,0,0,.08); transform: skewX(var(--slant)); pointer-events: none;
}
/* na podstránkách černá hlavička, aby logo nesplývalo s modrou */
body:not([data-page="home"]) .site-header { background: var(--black); }

/* ---------- Karty: společný vzhled všech dlaždic ---------- */
.num-tile, .record, .path, .offer, .contact, .review {
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(160deg, #11161c, #090b0e);
  transition: border-color .3s;
}
.num-tile:hover, .record:hover, .path:hover { border-color: rgba(0,174,255,.4); }
/* zvýrazněná karta: jemná modrá záře */
.num-tile--lead {
  border-color: rgba(0,174,255,.55);
  background: radial-gradient(700px 260px at 15% 0%, rgba(0,174,255,.28), transparent 70%), #080b0f;
  box-shadow: 0 0 60px rgba(0,174,255,.12);
}

/* ---------- Big numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.num-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  min-height: 170px; padding: clamp(18px, 2.4vw, 32px);
  container-type: inline-size;
}
.num-tile .big {
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 112%;
  font-size: min(3.6rem, 21cqi); line-height: .95; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.num-tile p { margin: 0; color: var(--mute); font-size: .95rem; max-width: 30ch; }
.num-tile--lead { grid-column: 1 / -1; min-height: 0; }
.num-tile--lead .big { font-size: min(8rem, 15.5cqi); }
.num-tile--lead p { color: var(--white); font-size: 1.05rem; }
/* mobil: celkový obrat přes celou šířku, pod ním 3 + 3 malá políčka */
@media (max-width: 699px) {
  .numbers { gap: 8px; }
  .num-tile { min-height: 0; gap: .8rem; padding: 12px 8px; border-radius: 14px; }
  .num-tile .big { font-size: 17.5cqi; letter-spacing: -0.03em; }
  .num-tile p { font-size: min(.72rem, 13.4cqi); line-height: 1.3; }
  .num-tile--lead { padding: 20px 18px; border-radius: 22px; }
  .num-tile--lead .big { font-size: 15.5cqi; }
  .num-tile--lead p { font-size: 1rem; line-height: 1.5; }
}

/* ---------- Modrý pruh jen pod nadpisem sekce (barvy jako .cta-band) ---------- */
.section--cyan-head { padding-top: 0; }
.cyan-head {
  position: relative; overflow: hidden; background: var(--cyan); color: #000;
  padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 7vw, 90px); margin-bottom: clamp(48px, 7vw, 90px);
}
.cyan-head::after {
  content: ""; position: absolute; right: -8vw; top: -10%; width: 40vw; height: 120%;
  background: rgba(0,0,0,.08); transform: skewX(var(--slant)); pointer-events: none;
}
.cyan-head .wrap { position: relative; z-index: 1; }
.cyan-head .section-head { margin-bottom: 0; }
.cyan-head .bars i { background: #000; }
.cyan-head .lead, .cyan-head .muted { color: #000; }

/* ---------- Records ---------- */
.records { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
/* 5 karet: mobil a tablet 2 + 2 + větší poslední, na počítači 3 + 2 */
.record:last-child { grid-column: 1 / -1; }
@media (min-width: 1080px) { .records { grid-template-columns: repeat(6, 1fr); } .record { grid-column: span 2; } .record:nth-child(n+4), .record:last-child { grid-column: span 3; } }
.record {
  position: relative; padding: clamp(28px, 3.4vw, 44px);
  min-height: 300px; display: flex; flex-direction: column; overflow: hidden;
  container-type: inline-size;
}
.record h3 { font-size: 1rem; color: var(--mute); font-stretch: 115%; }
.record .big {
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 110%;
  font-size: min(2.6rem, 13cqi); line-height: 1; margin: .5rem 0 auto; padding-bottom: 2rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.record p { margin: 0 0 1rem; color: var(--white); max-width: 30ch; }
.scope { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--mute); }
.scope::before { content: ""; width: 10px; height: 10px; transform: skewX(var(--slant)); background: var(--cyan); }
.scope--portfolio::before { background: transparent; border: 1.5px solid var(--cyan); }
@media (max-width: 699px) {
  .records { gap: 8px; }
  .record { min-height: 0; padding: 16px 14px; border-radius: 16px; }
  .record h3 { font-size: .72rem; }
  .record .big { font-size: 17cqi; padding-bottom: 1rem; }
  .record p { font-size: .82rem; line-height: 1.35; }
  .scope { font-size: .72rem; }
  .record:last-child { padding: 22px 18px; border-radius: 22px; }
  .record:last-child h3 { font-size: .85rem; }
  .record:last-child .big { font-size: 15cqi; }
  .record:last-child p { font-size: .95rem; max-width: none; }
}

.disclaimer { margin-top: 1.6rem; font-size: .85rem; color: var(--mute); max-width: 80ch; }

/* ---------- Team ---------- */
.team-top { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
@media (min-width: 900px) { .team-top { grid-template-columns: auto 1fr; gap: 4rem; } }
.team-count { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(5rem, 16vw, 13rem); line-height: .82; color: var(--cyan); }
.team-count small { display: block; font-size: clamp(1rem, 2vw, 1.5rem); color: var(--white); line-height: 1.1; margin-top: .6rem; }

/* ---------- Services: indexed list ---------- */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 1fr; gap: .6rem 3rem; align-items: baseline;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .service { grid-template-columns: 1.2fr 1fr; } }
.service h3 { font-size: clamp(min(1.4rem, 6.6vw), 3.2vw, 2.6rem); font-weight: 900; font-style: italic; font-stretch: 125%; margin: 0; transition: color .25s, transform .4s var(--ease); }
.service:hover h3 { color: var(--cyan); transform: translateX(10px); }
.service p { margin: 0; color: var(--mute); max-width: 44ch; }
html[lang="de"] .service h3 { font-size: clamp(min(1.4rem, 5.2vw), 3.2vw, 2.6rem); }

/* ---------- Our team: klikací bubliny ---------- */
.depts-hint { text-align: center; margin: 0 0 1.4rem; }
.depts { position: relative; max-width: 1040px; margin: 0 auto; }
.dept {
  position: absolute; padding: 6px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, rgba(0,174,255,.3), #0b1116 68%);
  border: 1px solid rgba(0,174,255,.35); color: var(--white); font: inherit; cursor: pointer;
}
.depts.is-ready .dept { transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), transform .25s var(--ease), box-shadow .3s, background .3s; }
.depts.is-ready { transition: height .55s var(--ease); }
.dept:hover { transform: scale(1.04); box-shadow: 0 0 34px rgba(0,174,255,.28); z-index: 1; }
@media (min-width: 700px) { .dept { padding: 18px; } }
.dept__name { font-family: var(--display); font-weight: 800; font-stretch: 100%; text-transform: uppercase; line-height: 1.2; }
.dept__text { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: clamp(.86rem, 1.2vw, 1rem); line-height: 1.4; transition: opacity .3s, max-height .45s var(--ease), margin .3s; }
.dept[aria-expanded="true"] { padding: 36px; z-index: 1; background: var(--cyan); border-color: var(--cyan); color: #000; box-shadow: 0 0 60px rgba(0,174,255,.35); }
.dept[aria-expanded="true"]:hover { transform: none; }
.dept[aria-expanded="true"] .dept__name { font-size: clamp(1rem, 1.7vw, 1.3rem); }
.dept[aria-expanded="true"] .dept__text { max-height: 9em; opacity: 1; margin-top: .7rem; }

/* ---------- Path chooser (3 audiences) ---------- */
.paths { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; text-decoration: none; }
.path h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-style: italic; font-weight: 900; font-stretch: 125%; margin-bottom: .5rem; }
.path p { color: var(--mute); max-width: 44ch; font-size: .95rem; line-height: 1.45; margin-bottom: .9rem; }
.path .go { margin-top: auto; font-weight: 600; color: var(--cyan); }

.paths-note { margin-top: clamp(32px, 4vw, 56px); text-align: center; }
.paths-note .lead { max-width: 62ch; margin: 0 auto; }

/* ---------- Generic two-col + lists ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 80px); }
/* minmax(0, …): dlouhý nadpis nesmí roztáhnout sloupec a smrsknout formulář vedle */
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-right { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split h2, html[lang="de"] .split h2 { font-size: min(2.9rem, 3.2vw); }
}
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 14px; height: 8px; background: var(--cyan); transform: skewX(var(--slant)); }

/* Steps — a real sequence, so numbered */
.steps { display: grid; grid-template-columns: 1fr; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); border-top: 0; } }
.step { position: relative; padding: 1.6rem 0 1.6rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .step { padding: 2rem 1.4rem 0 0; border-bottom: 0; border-top: 2px solid var(--line); }
  .step::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--cyan); transition: width 1s var(--ease); }
  .steps.is-in .step::after { width: 100%; }
  .steps.is-in .step:nth-child(2)::after { transition-delay: .2s; }
  .steps.is-in .step:nth-child(3)::after { transition-delay: .4s; }
  .steps.is-in .step:nth-child(4)::after { transition-delay: .6s; }
  .steps.is-in .step:nth-child(5)::after { transition-delay: .8s; }
}
.step .n { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 2.6rem; line-height: 1; color: var(--cyan); }
.step h3 { margin-top: .8rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--mute); font-size: .95rem; }

/* Offer blocks (mentoring / structure, partnership types) */
.offers { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .offers--2 { grid-template-columns: 1fr 1fr; } .offers--3 { grid-template-columns: repeat(3, 1fr); } }
.offer { padding: clamp(28px, 4vw, 52px); }
.offer > .tag { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; color: var(--cyan); font-size: 1.1rem; }
.offer h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 900; font-style: italic; font-stretch: 125%; margin: .4rem 0 1rem; }
.offer p { color: var(--mute); }
.offer .ticks { margin-top: 1.4rem; }
.offer .note { margin-top: 1.4rem; font-size: .92rem; color: var(--mute); border-left: 3px solid var(--cyan); padding-left: 1rem; }

/* ---------- Talent gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.talent { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--panel-2); margin: 0; }
.talent img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.25); }
.talent .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-size: .9rem; background:
  linear-gradient(160deg, rgba(0,174,255,.08), transparent 60%), repeating-linear-gradient(-78deg, transparent 0 22px, rgba(255,255,255,.025) 22px 24px); }
.talent figcaption { position: absolute; inset: auto 0 0; padding: 22px; background: linear-gradient(0deg, rgba(0,0,0,.92) 30%, transparent); }
.talent .name { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 120%; font-size: 1.35rem; text-transform: uppercase; }
.talent .ig { color: var(--cyan); font-size: .95rem; }
.talent dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin .45s var(--ease); }
.talent dt { font-size: .75rem; color: var(--mute); }
.talent dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.talent:hover img, .talent:focus-within img { transform: scale(1.05); filter: none; }
.talent:hover dl, .talent:focus-within dl { max-height: 6em; opacity: 1; margin-top: 1rem; }
@media (hover: none) { .talent dl { max-height: 6em; opacity: 1; margin-top: 1rem; } }

/* ---------- Reviews: slider ---------- */
.reviews-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 24px); }
/* počítač: skoro přes celou šířku stránky, i na velkých monitorech */
@media (min-width: 900px) { .reviews-slider { width: min(94vw, 1760px); margin-left: 50%; transform: translateX(-50%); } }
.reviews-view { overflow: hidden; transition: height .4s var(--ease); }
.reviews { display: flex; align-items: flex-start; transition: transform .55s var(--ease); }
.review { flex: 0 0 100%; min-width: 0; margin: 0; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 1rem; border-color: var(--cyan); }
.review figcaption { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.review figcaption div { display: grid; gap: .1rem; }
.review figcaption strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.review figcaption span { color: var(--cyan); font-size: .95rem; font-weight: 800; }
.review__flag { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(243,246,248,.35); }
.review__text { margin: 0; max-height: 13em; overflow: hidden; font-size: clamp(.95rem, 1.3vw, 1.05rem); line-height: 1.55; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.review__text p { margin: 0 0 .7em; }
.review:has(.review__more[aria-expanded="true"]) .review__text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.reviews-arrow { width: clamp(38px, 4.4vw, 52px); height: clamp(38px, 4.4vw, 52px); border-radius: 50%; border: 1px solid rgba(0,174,255,.5); background: #0b1116; color: var(--white); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .2s, color .2s; }
.reviews-arrow:hover { background: var(--cyan); color: #000; }
.reviews-arrow svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reviews-count { text-align: center; color: var(--mute); font-size: .9rem; margin: 1rem 0 0; font-variant-numeric: tabular-nums; }
html[lang="cs"] .reviews-note { display: none; }
.reviews-note { text-align: center; }
@media (max-width: 559px) {
  /* mobil: šipky pod recenzí, aby měl text celou šířku */
  .reviews-slider { grid-template-columns: 1fr 1fr; justify-items: center; gap: 12px; }
  .reviews-view { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  #reviews-prev { justify-self: end; margin-right: 34px; } #reviews-next { justify-self: start; margin-left: 34px; }
  .reviews-count { margin-top: -38px; pointer-events: none; }
}

/* ---------- Právní stránky ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 2.6rem 0 1rem; text-indent: 0; }
.legal p, .legal li { color: var(--white); line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--cyan); }
.legal mark { background: #ffd24a; color: #000; padding: 0 .25em; }
.legal-draft { background: #ffd24a; color: #000 !important; padding: 1rem 1.2rem; border-radius: 12px; }
.legal-table { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .8rem; border: 1px solid var(--line); }
.legal th { color: var(--mute); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(90px, 13vw, 170px) 0; overflow: hidden; background: var(--cyan); color: #000; }
.cta-band h2 { font-size: clamp(1.5rem, 8.2vw, 8.4rem); }
.cta-band .lead { color: #000; margin: 1.6rem 0 2.4rem; }
.cta-band .btn { --bg: #000; --fg: var(--white); }
.cta-band .btn--ghost { --bg: transparent; --fg: #000; }
.cta-band .btn--ghost::before { border-color: #000; }
.cta-band .btn--ghost:hover { --fg: var(--white); }
.cta-band .btn--ghost:hover::before { background: #000; }
.cta-band a.mail { color: #000; font-weight: 700; }
.cta-band::after {
  content: ""; position: absolute; right: -8vw; top: -10%; width: 40vw; height: 120%;
  background: rgba(0,0,0,.08); transform: skewX(var(--slant)); pointer-events: none;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .92rem; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--white);
  background: var(--panel); border: 1px solid var(--line); border-radius: 0;
  padding: .95rem 1rem; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--panel-2); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #ff5a6e; }
.field fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: .7rem 1.1rem; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.choice input:checked + span { background: var(--white); color: #000; border-color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--mute); }
.check input { width: 20px; height: 20px; accent-color: var(--cyan); margin-top: .15rem; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: .6rem; }
.form-status { margin: 0; font-size: 1rem; font-weight: 600; }
.form-status.is-ok { color: var(--cyan); }
.form-status.is-err { color: #ff8a98; }
.btn.is-sending { color: transparent; pointer-events: none; }
.btn.is-sending::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 3px solid rgba(0, 0, 0, .25); border-top-color: #000; border-radius: 50%;
  animation: form-spin .8s linear infinite;
}
@keyframes form-spin { to { transform: rotate(360deg); } }
.form-sent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; min-height: 340px; border-color: var(--cyan); outline: none; }
.form-sent h3 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.form-sent p { margin: 0; max-width: 34ch; font-size: 1.1rem; text-wrap: balance; }
.form-sent .btn { margin-top: .6rem; }
.form-sent__icon { width: 72px; height: 72px; fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-box { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 52px); }
.form-box .field input, .form-box .field select, .form-box .field textarea { background: var(--black); }

/* ---------- Contact ---------- */
.contacts { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contact { padding: clamp(28px, 4vw, 52px); }
.contact h3 { color: var(--mute); font-size: 1rem; }
.contact .mail { display: inline-block; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 115%; font-size: min(1.7rem, 4.4vw); color: var(--white); text-decoration: none; margin: .4rem 0 1.4rem; word-break: break-word; }
@media (min-width: 900px) { .contact .mail { font-size: min(1.7rem, 1.85vw); } }
.contact .mail:hover { color: var(--cyan); }
.contact ul { margin: 0; padding-left: 1.1rem; color: var(--mute); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer img { width: 210px; margin-bottom: 1.2rem; }
.site-footer h4 { margin: 0 0 1rem; font-size: .92rem; color: var(--mute); font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; color: var(--white); }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; }

/* ---------- Placeholder-data notice ---------- */
.demo-flag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #ffd43b; color: #000; font-size: .8rem; font-weight: 600; padding: .45rem .8rem; }

/* ---------- Scroll reveal (one consistent motion) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switch ---------- */
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  background: none; border: 1px solid transparent; color: var(--mute); cursor: pointer;
  font: inherit; font-size: .72rem; letter-spacing: .1em; min-width: 34px; min-height: 32px; padding: 0 .35rem;
  transition: color .2s, border-color .2s;
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button[aria-pressed="true"] { color: var(--white); border-color: var(--line); }
@media (max-width: 1280px) {
  .lang-switch { order: 10; margin-top: 1.2rem; }
  .lang-switch button { font-size: .95rem; min-width: 48px; min-height: 44px; }
}
