/* ==========================================================================
   Робота в Чехії — стилі сайту
   Мобільна версія в пріоритеті. Без зовнішніх шрифтів і бібліотек.
   ========================================================================== */

:root {
  --blue-950: #071f40;
  --blue-900: #0a2a55;
  --blue-800: #0b3a75;
  --blue-700: #0f4c97;
  --blue-600: #1660c0;
  --blue-100: #dce8f8;
  --blue-50: #eef4fc;
  --yellow: #ffc928;
  --yellow-600: #f2b705;
  --text: #14213d;
  --muted: #55607a;
  --border: #dfe5ee;
  --field-border: #7d8799;
  --bg: #ffffff;
  --surface: #f4f7fb;
  --success: #12703a;
  --success-bg: #e7f5ed;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --warn-bg: #fff6dc;
  --warn-border: #f5d77b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(10, 42, 85, .16);
  --container: 1160px;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--blue-700); text-underline-offset: .18em; }
a:hover { color: var(--blue-900); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--blue-900); letter-spacing: -.012em; }
h1 { font-size: clamp(1.85rem, 1.2rem + 3vw, 3rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: #fff; color: var(--blue-900); padding: 10px 14px; border-radius: 8px;
  font-weight: 700; box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 8px; }

.icon {
  width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: #1b1b1b; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.btn-primary:hover { background: var(--yellow-600); color: #1b1b1b; }
.btn-secondary { background: var(--blue-700); color: #fff; }
.btn-secondary:hover { background: var(--blue-800); color: #fff; }
.btn-outline { background: transparent; border-color: var(--blue-700); color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-link { background: transparent; color: var(--blue-700); text-decoration: underline; padding-left: .5em; padding-right: .5em; }
.btn-link:hover { color: var(--blue-900); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(10px); }
}
.header-inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); position: relative; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--blue-900); font-weight: 800; font-size: 1.12rem; text-decoration: none; letter-spacing: -.01em;
}
.logo svg { width: 36px; height: 36px; flex: none; }
.logo:hover { color: var(--blue-900); }

.nav { display: none; }
.nav a {
  color: var(--text); font-weight: 600; text-decoration: none;
  padding: 10px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.nav .nav-cta, .nav .nav-cta:hover { color: #1b1b1b; background: var(--yellow); }
.nav .nav-cta:hover { background: var(--yellow-600); }

.header-phone { display: none; }
.header-call, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--blue-800); cursor: pointer; padding: 0;
}
.header-call { background: var(--blue-50); border-color: transparent; }
.header-call .icon, .menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

.nav.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 12px 16px 20px;
  border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(10, 42, 85, .12);
}
.nav.is-open a { padding: 14px 12px; font-size: 1.05rem; }
.nav.is-open .nav-cta { margin-top: 8px; justify-content: center; }

@media (min-width: 1000px) {
  .nav, .nav.is-open {
    display: flex; flex-direction: row; align-items: center; gap: 2px;
    position: static; padding: 0; border: 0; box-shadow: none; background: transparent;
  }
  .nav.is-open a { padding: 10px 12px; font-size: inherit; }
  .nav .nav-cta { margin-left: 8px; }
  .nav.is-open .nav-cta { margin-top: 0; }
  .header-phone {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
    font-weight: 700; color: var(--blue-900); text-decoration: none; white-space: nowrap;
  }
  .header-call, .menu-toggle { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative; color: #fff; padding: 44px 0 52px;
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(255, 201, 40, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(22, 96, 192, .55), transparent 60%),
    linear-gradient(160deg, var(--blue-800), var(--blue-950));
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--yellow);
}
.hero-lead { font-size: 1.12rem; color: #d7e3f6; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.hero-actions .btn { flex: 1 1 220px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { margin-top: .2em; color: var(--success); }
.checklist-light { color: #eaf1fb; }
.checklist-light .icon { color: var(--yellow); }

.hero-card {
  background: #fff; color: var(--text); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 20px 22px;
}
.hero-card-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.mini-jobs { list-style: none; padding: 0; margin: 0 0 16px; }
.mini-job {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 12px; padding: 12px 4px;
  border-top: 1px solid var(--border); text-decoration: none; color: inherit; border-radius: 8px;
}
.mini-job:hover { background: var(--surface); color: inherit; }
.mini-job-title { flex: 1 1 100%; font-weight: 700; color: var(--blue-900); line-height: 1.3; }
.mini-job-meta { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .92rem; }
.mini-job-salary { font-weight: 800; color: var(--success); font-size: .95rem; white-space: nowrap; }

@media (min-width: 960px) {
  .hero { padding: 76px 0 84px; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* --- Stats --- */
.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.stat { padding: 18px 8px; text-align: center; }
.stat-num { font-size: clamp(1.35rem, 1rem + 1.5vw, 1.9rem); font-weight: 800; color: var(--blue-800); margin: 0; line-height: 1.2; }
.stat-label { margin: 2px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.35; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stat { padding: 26px 12px; } }

/* --- Sections --- */
.section { padding: 52px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head-row > div { max-width: 760px; }
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-tight { padding: 44px 0; }
}

/* --- Page head --- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 22px 0 30px; }
.page-head h1 { margin-bottom: .3em; }
.page-lead { font-size: 1.1rem; color: var(--muted); max-width: 46em; margin-bottom: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: #98a2b3; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--text); }

/* --- Job cards --- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.job-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue-100); }
.job-card:focus-within { box-shadow: 0 0 0 3px var(--blue-600); }
.job-card-cat { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 6px; }
.job-card-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.job-card-title a { color: var(--blue-900); text-decoration: none; }
.job-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card-title a:focus-visible { outline: none; }
.job-card-salary { font-size: 1.2rem; font-weight: 800; color: var(--success); margin: 0 0 8px; }
.job-card-salary span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.job-card-meta { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .94rem; }
.job-card-meta li { display: inline-flex; align-items: center; gap: 5px; }
.job-card-summary { color: var(--text); font-size: .98rem; margin-bottom: 12px; }
.job-card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-700); }
.job-card:hover .job-card-more .icon { transform: translateX(3px); }
.job-card-more .icon { transition: transform .15s; }

.tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--blue-50); color: var(--blue-800); font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; line-height: 1.4; }

/* --- Steps --- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px 18px 76px; counter-increment: step; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-800); color: var(--yellow); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 76px 20px 22px; }
}

/* --- Features --- */
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.feature h3 { margin: 12px 0 .35em; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 12px; background: var(--blue-50); color: var(--blue-700);
}
.feature-icon .icon { width: 24px; height: 24px; }

/* --- Notices --- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1px solid; }
.notice > div > :last-child { margin-bottom: 0; }
.notice h2, .notice .h3 { margin-bottom: .3em; font-size: 1.2rem; }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-border); }
.notice-warn .notice-icon { color: #9a6700; }
.notice-info { background: var(--blue-50); border-color: var(--blue-100); margin: 28px 0 16px; }
.notice-info .notice-icon { color: var(--blue-700); }
.notice-icon .icon { width: 26px; height: 26px; }
.notice-inline { margin-bottom: 18px; }
.notice-left { text-align: left; margin-top: 32px; }

/* --- FAQ --- */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; color: var(--blue-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--blue-700); border-bottom: 2.5px solid var(--blue-700);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* --- Apply section & form --- */
.apply-grid { display: grid; gap: 28px; }
.apply-intro .checklist { margin-top: 18px; }
.apply-alt { font-weight: 600; }
.apply-alt a { white-space: nowrap; }
.apply-job { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
@media (min-width: 960px) {
  .apply-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
  .apply-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; }
@media (min-width: 640px) { .form-card { padding: 30px; } }

.apply-form { position: relative; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { min-width: 0; margin: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--text); padding: 0; }
.req { color: var(--danger); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c97' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 96, 192, .22); }
input::placeholder { color: #6b7489; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { display: none; color: var(--danger); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.has-error .field-error { display: block; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; margin: 0; font-weight: 600; }
.field .choice { margin: 0; font-size: 1rem; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; cursor: pointer;
  border: 1.5px solid var(--field-border); border-radius: 999px; background: #fff; transition: all .15s;
}
.choice input:checked + span { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.form-more { border: 1px dashed var(--field-border); border-radius: var(--radius-sm); padding: 0 14px; }
.form-more summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--blue-700); font-size: .95rem; }
.form-more[open] { padding-bottom: 14px; }
.form-more .form-grid { gap: 14px; }

.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .92rem !important; line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue-700); cursor: pointer; }

.apply-form .btn-block { margin-top: 20px; }
.form-status { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-error { display: block; background: var(--danger-bg); color: var(--danger); }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.form-note .icon { color: var(--success); margin-top: .15em; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- Filters --- */
.filters { display: none; }
.js .filters {
  display: grid; gap: 14px; margin: 0 0 18px; padding: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.filter-check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; cursor: pointer; }
.filter-check input { width: 22px; height: 22px; accent-color: var(--blue-700); }
@media (min-width: 760px) { .js .filters { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .js .filters { grid-template-columns: 1fr 1fr auto auto; align-items: end; column-gap: 20px; } }
.results-count { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.empty-state { text-align: center; padding: 36px 16px; background: var(--surface); border-radius: var(--radius); margin-top: 8px; }

/* --- Vacancy page --- */
.job-head-cat { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 8px; }
.job-head-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.job-head-meta li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.job-head-meta .icon { color: var(--blue-700); }
.job-head-salary { color: var(--success); font-size: 1.1rem; font-weight: 800 !important; }
.job-head .tags { margin-bottom: 0; }

.job-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; } }
.job-lead { font-size: 1.12rem; }
.job-body h2 { font-size: 1.4rem; margin-top: 1.6em; }

.facts { display: grid; gap: 10px; margin: 22px 0 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.fact { position: relative; padding: 14px 14px 14px 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.fact dt { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fact dt .icon { position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; color: var(--blue-700); }
.fact dd { margin: 2px 0 0; font-weight: 600; line-height: 1.45; }

.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding-left: 32px; margin: 10px 0; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312703a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.job-aside { display: none; }
@media (min-width: 1000px) { .job-aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); } }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 10px; }
.aside-card p { margin: 0; }
.aside-salary { font-size: 1.5rem; font-weight: 800; color: var(--success); line-height: 1.2; }
.aside-note { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; }
.aside-note .icon { color: var(--success); }

.mobile-apply {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(10, 42, 85, .1);
  transition: transform .2s ease, visibility 0s;
}
.mobile-apply.is-hidden { transform: translateY(120%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
.mobile-apply-info { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.mobile-apply-salary { font-weight: 800; color: var(--success); }
.mobile-apply .btn { flex: none; }
.has-mobile-apply { padding-bottom: 76px; }
@media (min-width: 1000px) { .mobile-apply { display: none; } .has-mobile-apply { padding-bottom: 0; } }

/* --- Prose / legal --- */
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul:not(.list-check), .prose ol { padding-left: 1.4em; }
.prose li { margin: 6px 0; }
.legal-text { font-size: 1rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table-wrap th { background: var(--surface); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }

.license { display: grid; gap: 0; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.license > div { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #fff; }
.license > div:last-child { border-bottom: 0; }
.license dt { font-size: .85rem; font-weight: 700; color: var(--muted); }
.license dd { margin: 0; }
@media (min-width: 640px) { .license > div { grid-template-columns: 200px 1fr; gap: 16px; } }

/* --- Contacts --- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 48px; } }
.contact-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.contact-card {
  display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; color: inherit; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
a.contact-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); color: inherit; }
.contact-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-value { display: block; font-weight: 700; color: var(--blue-900); overflow-wrap: anywhere; }

/* --- Thank-you / 404 --- */
.thanks { padding: 64px 0 80px; }
.thanks-icon {
  display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--success-bg); color: var(--success); margin-bottom: 18px;
}
.thanks-icon .icon { width: 40px; height: 40px; stroke-width: 2.6; }
.thanks .page-lead { margin: 0 auto 26px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }
.err-code { font-size: 4.5rem; font-weight: 800; color: var(--blue-100); line-height: 1; margin-bottom: 8px; }

/* --- Footer --- */
.site-footer { background: var(--blue-950); color: #c3d0e6; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.logo-footer { color: #fff; margin-bottom: 14px; }
.logo-footer:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .9fr .9fr 1.3fr; gap: 40px; } }
.footer-title { color: #fff; font-weight: 800; margin-bottom: 12px; }
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { margin-top: .25em; color: var(--yellow); }
.footer-license { font-size: .88rem; color: #9fb1cf; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; font-weight: 600; font-size: .9rem; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 6px; font-size: .86rem; color: #9fb1cf; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: 1fr auto; } }

/* --- Messenger button --- */
.messenger-fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.has-mobile-apply .messenger-fab { bottom: 88px; }
@media (min-width: 1000px) { .has-mobile-apply .messenger-fab { bottom: 24px; } .messenger-fab { right: 24px; bottom: 24px; } }
.fab-toggle {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-700); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.fab-toggle .icon { width: 26px; height: 26px; }
.fab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fab-list[hidden] { display: none; }
.fab-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--blue-900); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.fab-viber .icon { color: #7360f2; }
.fab-telegram .icon { color: #229ed9; }
.fab-whatsapp .icon { color: #1c9e4b; }

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
  max-width: 560px; max-height: calc(100vh - 24px); overflow-y: auto;
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(7, 31, 64, .3); padding: 18px 18px 14px; font-size: .94rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-weight: 800; font-size: 1.05rem; color: var(--blue-900); margin-bottom: 6px; }
.cookie-text { margin-bottom: 12px; color: var(--muted); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .btn { min-height: 46px; padding: .6em 1em; }
.cookie-actions [data-cc="settings"], .cookie-actions [data-cc="save"] { grid-column: 1 / -1; }
.cookie-prefs { display: grid; gap: 10px; margin: 0 0 14px; padding: 12px; background: var(--surface); border-radius: var(--radius-sm); }
.cookie-prefs[hidden] { display: none; }
.switch { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.switch input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue-700); }
@media (min-width: 640px) { .cookie-banner { left: 24px; right: auto; bottom: 24px; padding: 22px 22px 16px; } }

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

@media print {
  .site-header, .site-footer, .mobile-apply, .messenger-fab, .cookie-banner, .apply-section, .job-aside { display: none !important; }
  body { padding: 0 !important; }
}
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: .85rem; }

/* --- Вузькі екрани: не даємо довгим словам розширювати сітку --- */
.hero-grid > *, .apply-grid > *, .job-layout > *, .contact-grid > *, .footer-grid > *, .cards > *, .form-grid > * { min-width: 0; }
h1, h2, h3, .eyebrow, .btn { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .logo { font-size: 1rem; gap: 8px; }
  .logo svg { width: 32px; height: 32px; }
  .header-call, .menu-toggle { width: 42px; height: 42px; }
  .hero-actions .btn { flex-basis: 100%; }
}

/* --- Доступність і вузькі місця макета (за результатами перевірки) --- */
/* Фокус на темному фоні: жовта рамка замість синьої */
.hero-copy :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
/* Шапка: пункти меню не переносяться; на 1000–1159 px ховаємо текст телефону */
.nav a, .logo span, .header-phone { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1159px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav a { padding: 10px 9px; }
}
.mobile-apply .btn { padding: .6em 1.1em; }
@media (max-width: 360px) {
  h1 { font-size: 1.6rem; }
}

/* --- Перемикач мов --- */
.lang-switch { display: none; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.lang-switch a, .lang-switch .lang-current {
  display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px;
  border-radius: 7px; font-size: .82rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; color: var(--muted);
}
.lang-switch .lang-current { background: var(--blue-800); color: #fff; }
.lang-switch a:hover { background: var(--blue-50); color: var(--blue-800); }
@media (min-width: 420px) { .lang-switch { display: inline-flex; } }
.nav-lang { display: none; }
.nav.is-open .nav-lang { display: flex; gap: 8px; padding: 10px 12px 0; border-top: 1px solid var(--border); margin-top: 8px; }
.nav.is-open .nav-lang a, .nav.is-open .nav-lang .lang-current { padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.nav.is-open .nav-lang .lang-current { background: var(--blue-50); color: var(--blue-800); }
@media (min-width: 1000px) {
  .nav .nav-lang, .nav.is-open .nav-lang { display: none; }
  .lang-switch { margin-left: 8px; }
}
