/* ==========================================================================
   Kariéra Abrova Group — úvodní stránka (v2.7)
   Jazyk abrovagroup.com: Montserrat, červená #b10f1a, bez štítků nad nadpisy,
   nadpisy 800 velkými písmeny, ostré hrany, pilulková tlačítka, zrno.
   Tmavý úvod, O nás, výzva a patička; světlé pozice a postup (volba majitele).
   Soubor má roční immutable cache — změna = nový název souboru.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/career-site/fonts/montserrat-latin-ext-v1.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/career-site/fonts/montserrat-latin-v1.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;
}

:root {
  /* tmavá — totožná s abrovagroup.com */
  --bg: #0a0a0b;
  --bg-2: #111111;
  --surface: #18181a;
  --fg: #d9d9d9;
  --fg-hi: #f7f7f7;
  --fg-2: #9a9a9a;
  --fg-3: #808086;
  --line: rgba(217, 217, 217, 0.12);
  --red: #b10f1a;
  --red-hi: #d01b27;
  /* světlá */
  --paper: #ffffff;
  --ink: #0a0a0b;
  --ink-2: #4a4a50;
  --ink-3: #6b6b71;
  --line-l: rgba(10, 10, 11, 0.12);
  --tint: #f5f5f6;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4.2vw, 72px);
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-press: cubic-bezier(0.23, 1, 0.32, 1);

  interpolate-size: allow-keywords;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, address { margin: 0; padding: 0; font-style: normal; }
ol, ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--red-hi); }
strong { font-weight: 700; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 1px solid var(--red-hi); outline-offset: 4px; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

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

.ico { width: 14px; height: 14px; flex: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typografické prvky (jako abrovagroup.com) ---------- */
/* Štítky s červenou linkou nad nadpisy a linka pod nadpisem hera jsou od 18. 11. 2026
   pryč (přání majitele) — nadpis sekce stojí sám. */

/* Nadpisy sekcí = těžké geometrické verzálky jako logotyp. */
.sec-title,
.join__title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.96;
}

/* Maska řádku pro odhalení; místo pro háčky a čárky (Č, Ř, Ž) i dotahy. */
.ln {
  display: block;
  overflow: clip;
  padding: 0.12em 0.06em 0.1em;
  margin: -0.12em -0.06em -0.1em;
}
.ln__i { display: block; }

/* ---------- Tlačítka (pilulky z abrovagroup.com) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.16s var(--ease-press);
}
.btn span { margin-right: -0.22em; }
.btn .ico { transition: transform 0.3s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 40px; padding: 0 18px; gap: 10px; }
.btn--lg { min-height: 60px; padding: 0 34px; }

.btn--solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost { border-color: rgba(247, 247, 247, 0.32); color: var(--fg-hi); }
.btn--outline { border-color: var(--red); color: inherit; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--red-hi); border-color: var(--red-hi); }
  .btn--ghost:hover { border-color: var(--fg-hi); }
  .btn--outline:hover { background: var(--red); color: #fff; }
  .btn--dark:hover { background: var(--red); border-color: var(--red); }
  .btn:hover .ico { transform: translate(2px, -2px); }
}

/* ---------- Zrno (jako abrovagroup.com) ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  transition: opacity 0.6s var(--ease-out);
}
body[data-nav="light"] .grain { opacity: 0.035; }
/* ---------- Navigace ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--fg-hi);
  --nav-bg: rgba(10, 10, 11, 0.82);
  --nav-line: var(--line);
  --nav-sub: var(--fg-2);
  transition: color 0.18s ease-out;
}
body[data-nav="light"] .nav {
  color: var(--ink);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --nav-line: var(--line-l);
  --nav-sub: var(--ink-3);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--nav-bg) 32%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.nav.is-solid::before { opacity: 1; }
html:not(.js) .nav::before { opacity: 1; }

.nav__logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  --lg-word: var(--red);
  --lg-sub: currentColor;
}
.nav__logo svg { width: 124px; height: auto; fill: currentColor; }
.nav__tag {
  padding-left: 16px;
  border-left: 1px solid var(--nav-line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--nav-sub);
  transition: color 0.4s, border-color 0.4s;
}
.nav__links {
  display: flex;
  gap: 40px;
}
.nav__link {
  position: relative;
  padding-block: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--nav-sub);
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.26em;
  bottom: 0;
  height: 1px;
  background: var(--red-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: inherit; }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__login { min-height: 44px; border: 0; }
.nav__login:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.account-icon { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */

.stack { position: relative; }

.hero {
  position: relative;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg-hi);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__media,
.hero__shade { position: absolute; inset: 0; }
.hero__media { transform-origin: 50% 40%; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
/* Filmové dotažení: tma u textu a po krajích, aby text četl i přes světlé záběry.
   První vrstva ztmaví celý záběr (od 18. 11. 2026 o něco víc). */
.hero__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 10, 11, 0.32), rgba(10, 10, 11, 0.32)),
    radial-gradient(120% 90% at 60% 40%, transparent 35%, rgba(10, 10, 11, 0.7) 100%),
    linear-gradient(to top, rgba(10, 10, 11, 0.96) 0%, rgba(10, 10, 11, 0.72) 28%, rgba(10, 10, 11, 0.18) 62%, rgba(10, 10, 11, 0.55) 100%),
    linear-gradient(to right, rgba(10, 10, 11, 0.7) 0%, rgba(10, 10, 11, 0.2) 55%, transparent 80%);
}
.hero__shade { background: var(--bg); opacity: 0; pointer-events: none; }

.hero__content {
  position: relative;
  padding-bottom: clamp(40px, 8vh, 96px);
}
.hero__title {
  margin-left: -0.04em;
  font-weight: 600;
  font-size: clamp(46px, 7.2vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--fg-hi);
}
.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: 32px 48px;
  margin-top: clamp(28px, 5vh, 56px);
}
.hero__lead { max-width: 420px; }
.hero__lead p { font-size: 17px; line-height: 1.6; color: rgba(247, 247, 247, 0.86); }
.hero__cta { justify-self: end; display: grid; justify-items: end; gap: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: rgba(247, 247, 247, 0.62); }

/* ---------- Kryt přes hero: značky a O nás ---------- */

.cover {
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  box-shadow: 0 -1px 0 var(--line);
}

.brands { padding-block: clamp(56px, 9vh, 104px) clamp(64px, 10vh, 120px); }
.brands__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brands__grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: start;
  gap: 28px;
  height: 100%;
  min-height: 188px;
  padding: 28px 24px 22px;
  color: var(--fg-3);
  transition: color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.brand__logo {
  align-self: center;
  justify-self: center;
  width: 64px;
  height: 56px;
  fill: currentColor;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out), opacity 0.4s;
}
.brand__logo--wide { width: 128px; }
.brand--multi .brand__logo { filter: grayscale(1) brightness(0.9); opacity: 0.8; }
.brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__name span { font-weight: 600; color: var(--fg-3); }
.brand__go {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 12px;
  height: 12px;
  color: var(--fg-3);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), color 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover { color: var(--accent); background: #151517; }
  .brand:hover .brand__logo { transform: translateY(-4px); }
  .brand--multi:hover .brand__logo { filter: none; opacity: 1; }
  .brand:hover .brand__go { opacity: 1; transform: none; color: var(--fg-hi); }
}
.brand:focus-visible { outline-offset: -4px; }

.about { padding-bottom: clamp(96px, 16vh, 200px); }
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(28px, 4vh, 44px);
  padding-top: clamp(48px, 7vh, 88px);
  padding-bottom: clamp(48px, 8vh, 100px);
}
.sec-title { grid-column: 1 / span 10; font-size: clamp(36px, 5.6vw, 104px); color: var(--fg-hi); }
.sec-title em { color: var(--red-hi); }

.manifesto {
  max-width: 24ch;
  margin-left: calc((100% + 24px) / 12 * 3);
  font-weight: 600;
  font-size: clamp(28px, 3.9vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--fg);
}

.values-title {
  margin-top: clamp(72px, 12vh, 144px);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--fg-hi);
}
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(24px, 4vh, 48px);
}
.values li { padding-top: 28px; }
.values h4 {
  max-width: 16ch;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg-hi);
}
.values p {
  max-width: 40ch;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-2);
}

/* ---------- Kanceláře ve Vestci: mřížka fotek (bento) ---------- */

.office { padding-bottom: clamp(96px, 16vh, 200px); }
.office__head { display: block; }
.office__addr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
}
.address-pin { width: 20px; height: 20px; flex: none; color: #ed5962; }
.office__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, clamp(180px, 17vw, 300px));
  grid-template-areas:
    "a a b b"
    "a a d d"
    "e f f g";
  gap: 12px;
}
.office__remote {
  margin-top: clamp(16px, 2vw, 28px);
  padding: clamp(20px, 2.5vw, 36px);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.5;
}
.office__remote strong { color: var(--fg-hi); }
.office__tile { position: relative; overflow: hidden; background: var(--surface); }
.office__tile--a { grid-area: a; }
.office__tile--b { grid-area: b; }
.office__tile--d { grid-area: d; }
.office__tile--e { grid-area: e; }
.office__tile--f { grid-area: f; }
.office__tile--g { grid-area: g; }
.office__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.office__tile--f img { object-position: 50% 62%; }
@media (hover: hover) and (pointer: fine) {
  .office__tile:hover img { transform: scale(1.035); }
}

/* ---------- Plechy: světlé pozice a tmavá výzva se roztáhnou do plné šíře ---------- */

.sheet { position: relative; z-index: 3; }

/* ---------- Pozice (světlé) ---------- */

.roles,
.process {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.roles { padding-bottom: clamp(72px, 11vh, 140px); }
.roles .sec-title,
.process .sec-title { color: var(--ink); }
.roles .sec-title em,
.process .sec-title em { color: var(--red); }
.sec-head--split .sec-title { grid-column: 1 / span 8; }
.sec-head__side {
  grid-column: 9 / span 4;
  align-self: end;
  display: grid;
  gap: 18px;
  padding-bottom: 0.4em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
/* Kořen mapy je napojený na svislici, ze které vedou tři rozbalovací větve. */
.role-map {
  --stem: clamp(24px, 3vw, 50px);
  --port: 46px;
  --wire: #cfa3a6;
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 1fr);
  column-gap: var(--stem);
  padding-top: clamp(72px, 10vh, 128px);
}
.role-map__root {
  grid-column: 1;
  align-self: start;
  position: relative;
  margin-top: 206px;
  transform: translateY(-50%);
  font-size: clamp(44px, 4.9vw, 82px);
}
.role-map__root::after,
.role-map__branches > li::before,
.role-map__branches > li::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.role-map__root::after {
  left: 100%;
  top: 50%;
  width: var(--stem);
  border-top: 1px solid var(--wire);
}
.role-map__branches > li {
  position: relative;
  padding-left: var(--stem);
}
.role-map__branches > li + li { padding-top: 12px; }
.role-map__branches > li::before {
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--wire);
}
.role-map__branches > li:first-child::before { top: var(--port); }
.role-map__branches > li:last-child::before { bottom: auto; height: calc(var(--port) + 12px); }
.role-map__branches > li::after {
  left: 0;
  top: var(--port);
  width: var(--stem);
  border-top: 1px solid var(--wire);
}
.role-map__branches > li + li::after { top: calc(var(--port) + 12px); }
.career-path {
  position: relative;
  background: var(--paper);
  border: 1px solid #d9d9dc;
  border-radius: 3px;
}
.career-path::before {
  content: "";
  position: absolute;
  top: calc(var(--port) - 5px);
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  pointer-events: none;
}
.career-path[open] { border-color: #bb8589; }
.career-path[open]::before { background: var(--red); }
.career-path__node {
  min-height: 134px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(14px, 1.45vw, 26px);
  padding: 27px clamp(18px, 2vw, 32px);
  list-style: none;
  cursor: pointer;
}
.career-path__node::-webkit-details-marker { display: none; }
.career-path__node:hover,
.career-path__node:focus-visible { background: #fbf7f7; }
.career-path__node:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.career-path__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 50%;
  background: #faedef;
  color: var(--red);
}
.career-path__title {
  display: block;
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.career-path__desc {
  display: block;
  max-width: 54ch;
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.career-path__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 37px;
  white-space: nowrap;
  color: var(--red);
  font-size: 12px;
  font-weight: 650;
}
.career-path__chevron {
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.career-path[open] .career-path__chevron { transform: rotate(225deg); margin-top: 4px; }
.career-path .role-list {
  margin-inline: clamp(16px, 2vw, 32px);
  border-bottom: 0;
}
.career-path .op-sum { grid-template-columns: minmax(0, 1fr) 36px; gap: 12px; padding: 22px 0; }
.career-path .op-head { grid-column: 1; }
.career-path .op-number { display: none; }
.career-path .op-title { font-size: clamp(20px, 1.6vw, 28px); }
.career-path .op-chev { width: 34px; height: 34px; }
.career-path .op-body { display: block; padding: 0 0 28px; }
.career-path .op-cols { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .role-map { --stem: 24px; grid-template-columns: minmax(0, 1fr); }
  .role-map__root { margin: 0 0 32px; transform: none; font-size: clamp(36px, 6.4vw, 60px); }
  .role-map__root::after {
    left: 4px;
    top: calc(100% + 12px);
    width: 0;
    height: calc(20px + var(--port));
    border: 0;
    border-left: 1px solid var(--wire);
  }
  .role-map__branches { padding-left: 4px; }
}
@media (max-width: 650px) {
  .role-map { --stem: 15px; --port: 34px; }
  .career-path__node { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 20px 16px; }
  .career-path__icon { display: none; }
  .career-path__copy { display: contents; }
  .career-path__title { grid-column: 1; grid-row: 1; }
  .career-path__desc { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .career-path__toggle { grid-column: 2; grid-row: 1; min-height: 26px; gap: 6px; font-size: 11px; }
  .career-path__count { white-space: normal; }
  .career-path__desc { font-size: 14px; }
}

.role-list { border-bottom: 1px solid var(--line-l); }
.op { position: relative; border-top: 1px solid var(--line-l); }
/* Červená linka přejede po horní hraně řádku při najetí nebo otevření. */
.op::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.op[open]::before { transform: scaleX(1); }
.op-sum {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 16px;
  padding-block: clamp(26px, 3.4vw, 44px);
  cursor: pointer;
  list-style: none;
}
.op-sum::-webkit-details-marker { display: none; }
.op-sum:focus-visible { outline-offset: -1px; }
.op-number {
  align-self: start;
  padding-top: 0.9em;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.op-head { min-width: 0; }
.op-title {
  font-size: clamp(24px, 2.7vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: transform 0.6s var(--ease-out);
}
.op-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-3);
}
.op-fact { display: inline-flex; align-items: center; }
.op-fact + .op-fact::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline: 14px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.op-fact--pay { font-weight: 700; color: var(--ink); }
.op-chev {
  position: relative;
  justify-self: end;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-l);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.16s var(--ease-press);
}
.op-chev i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.op-chev i + i { transform: rotate(90deg); }
.op[open] .op-chev { background: var(--red); border-color: var(--red); }
.op[open] .op-chev i { background: #fff; }
.op[open] .op-chev i + i { transform: rotate(0deg); }
.op-sum:active .op-chev { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .op:hover::before { transform: scaleX(1); }
  .op-sum:hover .op-chev { border-color: var(--ink); }
  .op[open] .op-sum:hover .op-chev { border-color: var(--red-hi); background: var(--red-hi); }
  .op-sum:hover .op-title { transform: translateX(6px); }
}

/* Rozbalení obsahu: plynulá výška tam, kde to prohlížeč umí, jinak okamžitě. */
@supports selector(::details-content) {
  .op::details-content {
    block-size: 0;
    overflow-y: clip;
    opacity: 0;
    transition: block-size 0.5s var(--ease-out), opacity 0.35s var(--ease-out), content-visibility 0.5s allow-discrete;
  }
  .op[open]::details-content { block-size: auto; opacity: 1; }
}

.op-body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 56px;
  column-gap: 16px;
  padding-bottom: clamp(40px, 5vw, 72px);
}
.op-body > * { grid-column: 2; }
.op-lead {
  max-width: 58ch;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.op-list { display: grid; gap: 10px; }
.op-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.op-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 12px;
  height: 1px;
  background: var(--red);
}
.op-list--flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-l);
  counter-reset: flow;
}
.op-list--flow li { padding-left: 40px; counter-increment: flow; }
.op-list--flow li::before {
  content: counter(flow, decimal-leading-zero);
  top: 0.2em;
  width: auto;
  height: auto;
  background: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.op-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: 36px;
}
.op-cols > div {
  padding: 28px;
  background: var(--tint);
}
.op-sub {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.op-note, .op-body p:not(.op-lead) { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.op-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  margin-top: 36px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background-color 0.2s, transform 0.16s var(--ease-press);
}
.op-cta span { margin-right: -0.22em; }
.op-cta .ico { transition: transform 0.3s var(--ease-out); }
.op-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .op-cta:hover { background: var(--red-hi); }
  .op-cta:hover .ico { transform: translate(2px, -2px); }
}

.other-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(48px, 7vh, 80px);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-l);
}
.other-role h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.other-role p { max-width: 56ch; margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Postup (světlý) ---------- */

.process {
  padding-bottom: clamp(112px, 18vh, 220px);
  border-top: 1px solid var(--line-l);
}
.steps-wrap { position: relative; }
.steps__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: var(--line-l);
}
.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: left;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.steps__dot {
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.steps__dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(177, 15, 26, 0.12); }
.steps__idx {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.steps h3 {
  max-width: 18ch;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.steps p {
  max-width: 36ch;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- Výzva (tmavá) ---------- */

.join {
  overflow: hidden;
  background: var(--bg);
  color: var(--fg-hi);
  padding-block: clamp(120px, 20vh, 240px) clamp(96px, 14vh, 160px);
}
.join__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 85% 100%, rgba(177, 15, 26, 0.42), transparent 70%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(10, 10, 11, 0.84) 40%, rgba(10, 10, 11, 0.92) 100%),
    url(/career-site/video/hero-poster-v2.webp) 50% 50% / cover no-repeat;
  filter: saturate(0.6);
}
.join__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
}
.join__title {
  grid-column: 1 / -1;
  font-size: clamp(52px, 10.4vw, 196px);
  color: var(--fg-hi);
}
.join__title em { color: var(--red-hi); }
.join__side {
  grid-column: 8 / span 5;
  display: grid;
  gap: 28px;
  margin-top: clamp(16px, 3vh, 40px);
}
.join__side p { font-size: 17px; line-height: 1.7; color: rgba(247, 247, 247, 0.78); max-width: 42ch; }
.join__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.join__login {
  padding-block: 6px;
  border-bottom: 1px solid rgba(247, 247, 247, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: rgba(247, 247, 247, 0.8);
  transition: color 0.2s, border-color 0.2s;
}
.join__login:hover { color: var(--fg-hi); border-color: var(--red-hi); }

/* ---------- Patička (jako abrovagroup.com) ---------- */

.ft {
  position: relative;
  z-index: 3;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.7;
  padding-top: 96px;
  box-shadow: 0 -1px 0 var(--line);
}
.ft a, .ft button { transition: color 0.2s, border-color 0.2s; }
.ft__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.ft__logo { display: block; width: 168px; --lg-word: var(--red); --lg-sub: var(--fg); }
.ft__logo svg { width: 100%; height: auto; fill: currentColor; }
.ft__lead {
  max-width: 24ch;
  margin-top: 24px;
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg-hi);
}
.ft__contact { display: grid; justify-items: start; gap: 16px; }
.ft__contact .ft__k { margin-bottom: 0; }
.ft__mail {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg-hi);
}
.ft__mail:hover { color: var(--red-hi); border-color: currentColor; }
.ft__contact .btn { margin-top: 8px; }
.ft__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  padding-block: 64px 96px;
}
.ft__k {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ft__list a:hover { color: var(--red-hi); }
.ft address { color: var(--fg); }
.ft__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-2);
}
.ft__legal-links { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.ft__legal a, .ft__legal button { color: inherit; text-decoration: none; }
.ft__legal a:hover, .ft__legal button:hover { color: var(--red-hi); }

/* ---------- Responzivita ---------- */

@media (max-width: 1100px) {
  .nav__links { gap: 28px; }

  .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; justify-items: start; }
  .sec-head--split .sec-title { grid-column: 1 / -1; }
  .sec-head__side { grid-column: 1 / span 8; }
  .join__side { grid-column: 1 / span 8; }
  .ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__logo svg { width: 104px; }
  .nav__tag { padding-left: 12px; letter-spacing: 0.24em; }
  .nav__right { gap: 16px; }
  .sec-title { grid-column: 1 / -1; }
  .sec-head__side { grid-column: 1 / -1; }
  .manifesto { margin-left: 0; }
  .office__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(150px, 40vw, 300px);
    grid-template-areas: "a a" "b d" "f f" "e g";
    gap: 8px;
  }
  .values, .steps { grid-template-columns: 1fr; gap: 48px; }
  .values { gap: 24px; }
  .steps__track { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li { padding-left: 44px; position: relative; }
  .steps__dot { position: absolute; left: 0; top: 2px; margin: 0; }
  .op-sum { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 12px; }
  .op-body { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
  .op-chev { width: 44px; height: 44px; }
  .op-list--flow, .op-cols { grid-template-columns: 1fr; }
  .join__side { grid-column: 1 / -1; }
  .ft { padding-top: 64px; }
  .ft__top { padding-bottom: 40px; }
  .ft__cols { padding-block: 40px 64px; }
  .ft__legal { flex-direction: column; }
}

@media (max-width: 600px) {
  .nav__tag { display: none; }
  .nav__login { padding-inline: 14px; }
  .hero__title { font-size: clamp(42px, 12.4vw, 64px); }
  .hero__lead p { font-size: 15px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero__cta { justify-items: stretch; width: 100%; }
  .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand { min-height: 150px; padding: 22px 16px 18px; }
  .brand__logo { width: 52px; height: 44px; }
  .brand__logo--wide { width: 104px; }
  .op-number { display: none; }
  .op-sum { grid-template-columns: minmax(0, 1fr) 44px; }
  .op-body { grid-template-columns: minmax(0, 1fr); }
  .op-body > * { grid-column: 1; }
  .op-fact + .op-fact::before { margin-inline: 10px; }
  .op-fact--pay { width: 100%; margin-bottom: 2px; }
  .op-fact--pay + .op-fact::before { display: none; }
  .op-cols > div { padding: 22px 18px; }
  .other-role .btn { width: 100%; }
  .join__actions .btn { width: 100%; }
  .ft__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ft__cols { grid-template-columns: minmax(0, 1fr); }
  .ft__col--brands .ft__list { columns: 2; column-gap: 24px; }
  .ft__legal-links a, .ft__legal-links button { padding-block: 13px; margin-block: -13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain { display: none; }
}

@media (forced-colors: active) {
  .btn, .op-chev, .other-role { border-color: ButtonText; }
}

/* ---------- Lišta cookies na tmavé stránce: odsazení pod patičkou je tmavé ---------- */
html.rc-banner-open body { background: var(--bg); }
