/* Montserrat (variable), self-hosted — no requests to Google or other third parties. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- tokens (Vetys, design "Směr A", 2026-11-13) ----------
   Contrast checked (WCAG AA):
   petrol #103C4F on white 11.8 · text #4A4A4A on grey 8.1 · muted #757575 on white 4.6
   green-ink #007358 on white 5.8, on grey 5.2 · white on button #007358 5.8 (any size)
   mint #5ED3B0 on petrol 6.4 · tag #145E4E on #E4F1ED 7.0 · tile text #555 on grey 6.7
   #00886A with white text only 4.44 → only for bold text ≥ 19px (not used for buttons). */
:root {
  color-scheme: light;
  --petrol: #103c4f;
  --deep: #082c3a;          /* footer */
  --box: #092e3d;           /* apply box on petrol */
  --green: #00886a;         /* accent bars, not for text */
  --green-ink: #007358;     /* buttons, green text and links on light backgrounds */
  --green-hover: #005c47;
  --mint: #5ed3b0;          /* accents and focus on petrol */
  --tag-bg: #e4f1ed;
  --tag-text: #145e4e;
  --grey: #f1f1f3;
  --text: #4a4a4a;
  --muted: #757575;
  --muted-2: #6b6b6b;
  --line: #e5e9ea;
  --radius: 8px;
  --shadow: 0 12px 28px rgba(10, 40, 55, 0.075);
  --wrap: 1216px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--grey);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  /* Short pages (404): the footer stays at the bottom of the window. */
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
main.short { background: var(--petrol); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--petrol); line-height: 1.18; }
a { color: var(--green-ink); text-underline-offset: 0.2em; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 4px; border-radius: 3px; }
.hero :focus-visible,
.apply-section :focus-visible,
.footer :focus-visible { outline-color: var(--mint); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 13px 22px;
  background: var(--green-ink); color: #fff;
  font-size: 1rem; font-weight: 700; line-height: 1.35; text-decoration: none;
  border-radius: 5px; border: 0;
  transition: background-color 0.15s;
}
.btn:hover { background: var(--green-hover); color: #fff; }
.btn-text {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-weight: 700; font-size: 0.875rem; text-underline-offset: 4px;
}
.btn-text:hover { color: var(--mint); }

/* ---------- header (white: the logo is petrol + green) ---------- */
.site-header { background: #fff; position: relative; z-index: 5; }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.identity { display: flex; align-items: center; gap: 14px; text-decoration: none; white-space: nowrap; min-height: 44px; }
.identity img { display: block; height: 44px; width: auto; }
.identity-divider { height: 24px; width: 2px; background: var(--green); }
.identity-label { letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; font-weight: 700; color: var(--petrol); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; font-size: 12px; color: var(--petrol);
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- hero (petrol, typographic) ---------- */
.hero { position: relative; background: var(--petrol); color: #fff; padding: 88px 0 152px; overflow: hidden; }
.hero.no-feature { padding-bottom: 88px; }
.hero a:not(.btn) { color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 780px) 1fr; gap: 45px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 23px;
}
.hero h1 {
  color: #fff; font-size: clamp(48px, 5.2vw, 79px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.047em; line-height: 1.05; margin: 0 0 28px; text-wrap: balance;
  /* ~8 capitals per line: "Pracujte s námi" breaks into two lines like the design, without a hard <br>. */
  max-width: 8em;
}
.hero-accent { height: 5px; width: 78px; background: var(--green); border-radius: 5px; margin-bottom: 30px; }
.hero-lead { max-width: 650px; color: #eef6f5; font-size: 19px; line-height: 1.6; margin-bottom: 27px; }
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
/* Thin vertical separator on the right (desktop only). */
.hero-space { border-left: 1px solid rgba(255, 255, 255, 0.14); height: 180px; justify-self: end; width: 230px; }
.hero-small { padding: 44px 0 40px; }
.hero-small .eyebrow { margin-bottom: 12px; }
.hero-small .hero-lead { margin-bottom: 0; font-size: 17px; }

/* ---------- feature card (overlaps the bottom of the hero) ---------- */
.feature-overlap { position: relative; z-index: 2; margin-top: -82px; }
.feature-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid #e7e9e9; border-radius: var(--radius);
  box-shadow: 0 16px 31px rgba(12, 40, 51, 0.11);
  padding: 28px 34px; text-decoration: none; color: var(--text);
}
.feature-card:hover { border-color: #a9cac4; color: var(--text); }
.feature-text { display: block; min-width: 0; }
.kicker {
  display: block; color: var(--green-ink); font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 12px; margin-bottom: 5px;
}
.feature-title {
  display: block; color: var(--petrol); font-size: 24px; font-weight: 800; line-height: 1.25;
  letter-spacing: -0.025em; margin-bottom: 11px;
}
.down-arrow {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--petrol) url("/icons/arrow-down.svg") center / 21px no-repeat;
}

/* ---------- tags ---------- */
.tags { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.tag {
  background: var(--tag-bg); color: var(--tag-text);
  padding: 4px 10px; font-size: 12px; line-height: 1.4; border-radius: 2px; font-weight: 700;
}

/* ---------- numbered sections ---------- */
.section { padding: 94px 0 0; }
.section-heading { display: flex; align-items: flex-start; gap: 22px; }
.section-num { font-size: 12px; color: var(--green-ink); font-weight: 800; letter-spacing: 0.12em; line-height: 1.9; }
.section-heading h2 {
  font-size: 29px; font-weight: 800; letter-spacing: -0.02em; margin: 0; text-transform: uppercase;
}
.about-grid { display: grid; grid-template-columns: 34% 1fr; gap: 60px; }
.about-copy { color: var(--petrol); font-size: 19px; line-height: 1.65; font-weight: 500; max-width: 780px; }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- positions ---------- */
.positions-section { padding-bottom: 104px; }
.positions-section > .wrap > .section-heading { margin-bottom: 30px; }
.positions-sub { padding-top: 48px; }

.position-card {
  display: grid; grid-template-columns: 33% minmax(0, 1fr); gap: 46px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 48px; margin-bottom: 25px; scroll-margin-top: 24px;
}
.pos-title {
  font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.2;
  margin: 0 0 14px; overflow-wrap: break-word;
}
.position-aside .tags { margin-bottom: 22px; }
.position-summary { font-weight: 700; color: var(--petrol); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.apply-note { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.opening { font-size: 16px; color: var(--petrol); line-height: 1.7; font-weight: 500; margin-bottom: 35px; }

.pos-group { margin: 0 0 39px; }
.pos-group:last-child { margin-bottom: 0; }
.pos-group > :first-child {
  display: flex; align-items: center; gap: 13px;
  font-size: 18px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 19px;
}
.number-dot {
  flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--petrol); color: #fff; font-size: 13px; letter-spacing: 0;
}

.bullets { padding: 0; margin: 0; list-style: none; display: grid; gap: 13px; }
.bullets li { position: relative; padding-left: 25px; line-height: 1.6; font-size: 14px; }
.bullets strong { color: var(--petrol); font-weight: 700; }
.bullets.dots li::before {
  content: ""; position: absolute; left: 2px; top: 0.68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.bullets.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 17px; height: 17px; background: url("/icons/check.svg") center / contain no-repeat;
}
.note { font-size: 13px; color: var(--muted-2); font-style: italic; line-height: 1.65; margin: 15px 0 0; }

.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles li {
  min-height: 83px; padding: 17px 17px 17px 52px; border-radius: 5px;
  background: var(--grey) url("/icons/plus.svg") 17px 17px / 22px no-repeat;
  font-size: 13px; line-height: 1.55; color: #555;
}

/* Several positions: overview cards above the details. */
.overview { margin: 0 0 30px; }
.overview-title { font-size: 21px; font-weight: 800; text-transform: uppercase; margin: 0 0 17px; }
.overview-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.overview-card {
  display: block; height: 100%; text-decoration: none; color: var(--text);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; border: 1px solid #e8eeee;
}
.overview-card:hover { border-color: #62bba5; color: var(--text); }
.overview-card-title {
  display: block; color: var(--petrol); font-size: 21px; font-weight: 800; line-height: 1.2;
  margin: 0 0 12px; overflow-wrap: break-word;
}
.overview-card-text { display: block; font-size: 13px; line-height: 1.6; margin: 13px 0 0; }

.others { color: var(--muted-2); }
.others h2 { font-size: 21px; margin-bottom: 12px; }
.others ul { padding-left: 1.2em; margin: 0; }
.others li { margin-bottom: 6px; }
.back, .empty { color: var(--text); }

/* ---------- how to apply (petrol) ---------- */
.apply-section { background: var(--petrol); padding: 90px 0 95px; color: #dce9ec; }
.apply-section h2 { color: #fff; }
.apply-section .section-num { color: var(--mint); }
.apply-section .section-heading { margin-bottom: 29px; }
.apply-grid { display: grid; grid-template-columns: 1fr 410px; gap: 80px; align-items: center; }
.apply-section p { font-size: 15px; line-height: 1.75; max-width: 590px; }
.apply-section a:not(.btn) { color: #fff; font-weight: 700; }
.apply-section a:not(.btn):hover { color: var(--mint); }
.apply-box { background: var(--box); border-radius: 7px; padding: 28px 30px; color: #fff; }
.apply-box .apply-box-title { font-size: 16px; color: #fff; font-weight: 800; line-height: 1.35; margin-bottom: 19px; }
.apply-box .btn { width: 100%; }
.apply-box p:not(.apply-box-title) { font-size: 12px; color: #d2e0e4; text-align: center; margin: 14px 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--deep); border-top: 5px solid var(--green); color: #dce8eb; padding: 37px 0 40px; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 35px; }
.footer strong { color: #fff; }
.footer a { color: #fff; }
.footer p { margin: 0; line-height: 1.7; }

/* ---------- mobile apply bar (mobile only) ---------- */
.mobile-apply { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-space { display: none; }
  .hero { padding: 77px 0 146px; }
  .hero.no-feature { padding-bottom: 77px; }
  .hero-small { padding: 40px 0 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .position-card { padding: 30px; grid-template-columns: 1fr; gap: 26px; }
  .position-aside { border-bottom: 1px solid var(--line); padding-bottom: 23px; }
  .pos-title { max-width: 650px; }
  .position-aside .btn { max-width: 320px; width: 100%; }
  .position-aside .apply-note { text-align: left; }
  .apply-grid { gap: 30px; grid-template-columns: 1fr 350px; }
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {
  .wrap { padding-inline: 20px; }
  .header-inner { height: 66px; }
  .identity { gap: 10px; }
  .identity img { height: 36px; }
  .identity-label { font-size: 11px; letter-spacing: 0.14em; }
  .identity-divider { height: 21px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 11px; }
  .nav-links a:first-child:not(:last-child) { display: none; }
  .hero { padding: 47px 0 127px; }
  .hero.no-feature { padding-bottom: 56px; }
  .hero-small { padding: 32px 0 30px; }
  .eyebrow { font-size: 11px; margin-bottom: 19px; }
  .hero h1 { font-size: clamp(41px, 11vw, 56px); line-height: 1.04; letter-spacing: -0.055em; margin-bottom: 22px; }
  .hero-accent { width: 61px; height: 4px; margin-bottom: 25px; }
  .hero-lead { font-size: 16px; line-height: 1.7; margin-bottom: 23px; }
  .hero-small .hero-lead { font-size: 15px; }
  .hero-actions .btn { font-size: 14px; min-height: 46px; padding-inline: 18px; }
  .hero-actions .btn-text { font-size: 13px; }
  .feature-overlap { margin-top: -85px; }
  .feature-card { padding: 22px 20px; align-items: flex-start; }
  .feature-title { font-size: 20px; }
  .down-arrow { display: none; }
  .section { padding-top: 66px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading { display: block; }
  .section-num { display: block; font-size: 11px; margin-bottom: 12px; }
  .about-copy { font-size: 16px; line-height: 1.7; }
  .positions-section { padding-bottom: 68px; }
  .positions-section > .wrap > .section-heading { margin-bottom: 22px; }
  .positions-sub { padding-top: 28px; }
  .position-card { padding: 23px 20px; margin-bottom: 18px; gap: 22px; }
  .pos-title { font-size: 25px; }
  .position-summary { font-size: 14px; }
  .position-aside .btn { width: 100%; max-width: none; }
  .pos-group > :first-child { font-size: 17px; gap: 11px; }
  .tiles { grid-template-columns: 1fr; gap: 9px; }
  .tiles li { min-height: 65px; padding: 14px 14px 14px 48px; background-position: 14px 14px; }
  .overview-cards { grid-template-columns: 1fr; }
  .overview-card { padding: 20px; }
  .overview-card-title { font-size: 18px; }
  .overview-title { font-size: 18px; }
  .apply-section { padding: 66px 0 85px; }
  .apply-grid { grid-template-columns: 1fr; gap: 18px; }
  .apply-box { padding: 24px 20px; }
  .footer { padding: 26px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .has-bar .footer { padding-bottom: 115px; }

  .mobile-apply {
    display: flex; position: fixed; z-index: 50; bottom: 0; left: 0; right: 0;
    align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border-top: 1px solid #dce5e5;
    box-shadow: 0 -6px 25px rgba(3, 29, 40, 0.12);
    padding: 11px max(16px, env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .mobile-title {
    flex: 1 1 40%; min-width: 0; font-size: 11px; font-weight: 800; color: var(--petrol); line-height: 1.3;
    overflow-wrap: break-word;
  }
  .mobile-apply .btn { flex: 0 1 auto; min-height: 48px; padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 360px) {
  .mobile-apply .btn { font-size: 12px; padding-inline: 10px; }
  .mobile-title { font-size: 10px; }
  .identity-label { font-size: 10px; }
}

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