/* Inter only. Six readable sizes: 14, 16, 18, 22, 28, 36px. */
:root {
  --font: 'Inter', Arial, sans-serif;
  --text-xs: 14px; --text-sm: 16px; --text-base: 18px;
  --text-lg: 22px; --text-xl: 28px; --text-hero: 36px;
  --ink: #22314a; --muted: #4b5c70; --subtle: #53647a;
  --blue: #326bb7; --blue-dark: #24599e; --line: #e5ebf3;
  --pale: #f5f8fd; --yellow: #ffe17c;
  font-family: var(--font); font-size: var(--text-sm); line-height: 1.55;
  font-synthesis: none; color: var(--ink); background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-dark); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #214f9c; outline-offset: 3px; }
.container { width: min(1190px, calc(100% - 48px)); margin: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--text-hero); line-height: 1.18; letter-spacing: -.035em; margin-bottom: 0; }
h2 { font-size: var(--text-xl); line-height: 1.24; letter-spacing: -.03em; margin-bottom: 0; }
h3 { font-size: var(--text-base); line-height: 1.35; letter-spacing: -.015em; margin-bottom: 0; }
.eyebrow { color: #315f9c; font-size: var(--text-xs); font-weight: 800; letter-spacing: .1em; margin-bottom: 8px; }

.topbar { background: #326bb7; color: #fff; }
.topbar-inner { min-height: 74px; display: flex; align-items: center; gap: 30px; }
.brand { min-width: 240px; display: flex; flex-direction: column; line-height: 1.15; color: #fff; }
.brand:hover { color: #fff; }
.brand-name { font-size: var(--text-xl); font-weight: 800; letter-spacing: -.045em; }
.brand-name span, .footer-brand span, .brand-name i, .footer-brand i { color: var(--yellow); }
.brand-name i, .footer-brand i { font-style: normal; }
.brand small { font-size: var(--text-xs); font-weight: 500; opacity: .9; margin-top: 3px; }
.top-search { height: 48px; width: min(390px, 34vw); display: flex; background: #fff; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 6px #214c9222; }
.top-search input { border: 0; outline: 0; min-width: 0; flex: 1; padding: 0 15px; color: var(--ink); background: transparent; font-size: var(--text-sm); }
.top-search button { width: 48px; border: 3px solid #fff; background: #24599e; color: #fff; display: grid; place-items: center; }
.top-search button:hover { background: #225caf; }
.favorites-link { display: flex; align-items: center; gap: 8px; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.favorites-link:hover, .favorites-link[aria-pressed=true] { color: var(--yellow); }
.favorites-link b { background: var(--yellow); color: #21416e; border-radius: 20px; padding: 0 7px; font-size: var(--text-xs); }
.language-switch { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: #ffffff22; white-space: nowrap; }
.language-switch a { color: #edf4ff; padding: 4px 8px; border-radius: 6px; font-size: var(--text-xs); font-weight: 700; }
.language-switch a[aria-current=page] { background: #fff; color: #24599e; }
.main-nav { box-shadow: 0 3px 12px #19314d0d; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 64px; display: flex; align-items: center; gap: 7px; }
.nav-item { border: 1px solid var(--line); padding: 10px 12px; border-radius: 7px; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; color: #3c4960; }
.nav-item.active { color: var(--blue-dark); border-color: #9cbbe8; background: #f7faff; }
.nav-item span { color: var(--subtle); }
.nav-cta { margin-left: auto; background: var(--yellow); border: 1px solid #f3cb47; border-radius: 7px; padding: 11px 15px; font-weight: 700; font-size: var(--text-xs); white-space: nowrap; color: #2d3440; box-shadow: 0 3px 7px #c38b1730; }
.nav-cta:hover { background: #ffd450; color: #2d3440; }

.main-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(310px, .95fr); gap: 38px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.result-count { font-size: var(--text-xs); color: var(--muted); padding-bottom: 4px; white-space: nowrap; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; color: var(--muted); font-size: var(--text-sm); }
.filters label { cursor: pointer; }
.filters input { position: absolute; opacity: 0; }
.filters label span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 24px; font-size: var(--text-xs); font-weight: 600; color: var(--muted); transition: .15s; }
.filters input:checked + span { background: #eaf2fe; color: var(--blue-dark); border-color: #a9c5ed; }
.filters input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.active-filter { background: #f0f6ff; padding: 10px 13px; border-radius: 8px; margin-bottom: 9px; font-size: var(--text-xs); color: #24599e; display: flex; justify-content: space-between; gap: 10px; }
.active-filter[hidden], .empty-state[hidden] { display: none; }
.active-filter button { border: 0; background: none; color: var(--blue-dark); font-size: var(--text-xs); font-weight: 700; }
.vacancy-list { border-top: 1px solid var(--line); }
.vacancy { display: grid; grid-template-columns: 26px minmax(0,1fr) 100px 96px; align-items: center; column-gap: 10px; min-height: 88px; padding: 15px 3px 15px 0; border-bottom: 1px solid var(--line); transition: background .15s; }
.vacancy:hover { background: #f9fbfe; }
.save { border: 0; background: transparent; padding: 4px 2px; color: #60758f; align-self: start; margin-top: 2px; }
.save:hover, .save[aria-pressed=true] { color: var(--blue); }
.save[aria-pressed=true] svg { fill: #dfebfc; }
.save svg { width: 19px; height: 19px; }
.vacancy-main { min-width: 0; }
.vacancy-title { display: inline-block; color: #24599e; font-weight: 700; font-size: var(--text-sm); line-height: 1.45; }
.vacancy-title:hover { text-decoration: underline; }
.vacancy-meta { display: flex; gap: 5px 9px; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: var(--text-xs); line-height: 1.5; margin-top: 5px; }
.salary { color: #187044; font-weight: 700; }
.vacancy-country, .vacancy-date { align-self: start; margin-top: 5px; color: var(--muted); font-size: var(--text-xs); line-height: 1.45; }
.vacancy-date { text-align: right; white-space: nowrap; }
.pagination { display: flex; gap: 7px; margin-top: 25px; align-items: center; flex-wrap: wrap; }
.pagination button { min-width: 42px; height: 42px; border: 1px solid #e1e9f4; border-radius: 7px; background: #fff; color: #315f9c; font-size: var(--text-xs); font-weight: 700; padding: 0 12px; }
.pagination button:hover, .pagination button[aria-current=page] { background: var(--blue); color: #fff; border-color: var(--blue); }
.empty-state { text-align: center; background: var(--pale); border-radius: 14px; padding: 45px 20px; margin-top: 16px; }
.empty-state strong { font-size: var(--text-base); }
.empty-state p { color: var(--muted); margin: 8px 0 16px; }
.empty-state button { border: 0; background: var(--blue); color: #fff; border-radius: 8px; padding: 11px 18px; font-size: var(--text-sm); font-weight: 700; }

.sidebar { padding-top: 4px; }
.sidebar-section { margin-bottom: 29px; }
.sidebar h2 { font-size: var(--text-base); letter-spacing: -.015em; margin-bottom: 12px; font-weight: 700; }
.quick-search form { background: #326bb7; padding: 7px; display: flex; border-radius: 8px; gap: 5px; box-shadow: 0 3px 9px #3c72bc24; }
.quick-search select { appearance: none; min-width: 0; flex: 1; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23748aa7' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; border: 0; border-radius: 5px; padding: 0 24px 0 9px; color: #35435b; font-size: var(--text-xs); font-weight: 600; height: 44px; }
.quick-search button { width: 44px; flex: 0 0 44px; border: 0; border-radius: 5px; background: #24599e; color: #fff; display: grid; place-items: center; }
.quick-search button:hover { background: #2262b7; }
.sidebar-section:not(.quick-search) h2 { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.sidebar h3 { font-size: var(--text-sm); font-weight: 700; color: #344257; margin: 15px 0 10px; }
.sidebar h3.all-heading { margin-top: 23px; }
.country-grid, .profession-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 10px; row-gap: 7px; }
.country-grid button, .profession-grid button { border: 0; padding: 1px 0; text-align: left; background: none; color: #24599e; font-size: var(--text-xs); line-height: 1.45; white-space: normal; }
.country-grid button:hover, .profession-grid button:hover { text-decoration: underline; }
.country-grid small, .profession-grid small { font-size: var(--text-xs); color: var(--subtle); margin-left: 3px; }
.all-countries { row-gap: 6px; }
.profession-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 9px; }
.sidebar-note { display: flex; gap: 12px; padding: 18px; background: #f3f7fd; border: 1px solid #e7eff9; border-radius: 11px; color: #405b7e; }
.sidebar-note svg { flex: 0 0 21px; color: var(--blue); }
.sidebar-note strong { display: block; color: #385778; font-size: var(--text-sm); }
.sidebar-note p { font-size: var(--text-xs); line-height: 1.6; margin: 7px 0 0; }

.section-block { padding: 66px 0; }
.discovery { background: #f7f9fd; border-top: 1px solid var(--line); }
.block-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.block-heading p { max-width: 395px; color: var(--muted); margin: 0; }
.profession-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.profession-card { border: 1px solid #dfe8f3; background: #fff; border-radius: 12px; padding: 20px; text-align: left; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .18s, box-shadow .18s; }
.profession-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #25487816; }
.profession-card strong { font-size: var(--text-base); color: #24599e; line-height: 1.35; }
.profession-card span { font-size: var(--text-xs); color: var(--muted); }
.steps h2 { margin-bottom: 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { padding: 25px; border: 1px solid var(--line); border-radius: 13px; }
.step-number { display: block; color: var(--blue); font-size: var(--text-xl); font-weight: 800; margin-bottom: 19px; }
.step h3 { margin-bottom: 9px; }
.step p { color: var(--muted); margin: 0; }
.faq { background: #f7f9fd; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.65fr; gap: 55px; }
.faq-items { border-top: 1px solid #dce5f0; }
.faq details { border-bottom: 1px solid #dce5f0; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; font-size: var(--text-base); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--blue); font-size: var(--text-xl); font-weight: 400; line-height: 1; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 30px 19px 0; }
.about { background: #eef4fc; padding: 48px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 55px; align-items: center; }
.about p:not(.eyebrow) { color: #435a75; margin: 0; line-height: 1.75; }

.footer { background: #253a59; color: #e5ecf7; padding: 55px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 2.6fr .7fr; gap: 28px; padding-bottom: 40px; }
.footer-brand { font-size: var(--text-lg); font-weight: 800; letter-spacing: -.045em; }
.footer-intro p { font-size: var(--text-xs); color: #b6c5d9; margin: 8px 0 0; }
.footer-intro .footer-disclaimer { max-width: 260px; margin-top: 20px; line-height: 1.65; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { color: #fff; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.footer-column a { color: #b7c8de; font-size: var(--text-xs); line-height: 1.4; }
.footer-column a:hover { color: #fff; }
.footer-column:nth-child(3) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px 13px; align-content: start; }
.footer-column:nth-child(3) h2 { grid-column: 1/-1; }
.footer-bottom { border-top: 1px solid #ffffff25; padding-top: 21px; display: flex; justify-content: space-between; gap: 18px; color: #b7c8de; font-size: var(--text-xs); }
.footer-langs { display: flex; gap: 18px; }
.footer-langs a { color: #b7c8de; }
.footer-langs a:hover { color: #fff; }

@media(max-width: 1050px) {
  .topbar-inner { gap: 18px; } .brand { min-width: 205px; }
  .main-grid { gap: 25px; grid-template-columns: minmax(0,1.65fr) minmax(260px,1fr); }
  .nav-item { padding: 9px 10px; } .nav-cta { padding: 10px; }
  .vacancy { grid-template-columns: 24px minmax(0,1fr) 82px; } .vacancy-date { display: none; }
  .country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr .8fr 1.6fr; } .footer-column:last-child { grid-column: 2/-1; flex-direction: row; flex-wrap: wrap; gap: 12px; } .footer-column:last-child h2 { width: 100%; }
}
@media(max-width: 740px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 13px 0; }
  .brand { min-width: 0; } .brand-name { font-size: var(--text-lg); }
  .top-search { grid-row: 2; grid-column: 1/-1; width: 100%; }
  .favorites-link { grid-column: 2; grid-row: 1; } .language-switch { grid-column: 3; grid-row: 1; }
  .main-nav { overflow-x: auto; scrollbar-width: none; } .main-nav::-webkit-scrollbar { display: none; } .nav-inner { width: max-content; min-width: calc(100% - 32px); min-height: 59px; }
  .main-grid { display: block; padding-top: 30px; padding-bottom: 50px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 44px; }
  .sidebar-section { margin: 0; } .quick-search, .sidebar-note { grid-column: 1/-1; }
  .country-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .profession-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-grid, .about-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-intro { grid-column: 1/-1; } .footer-column:last-child { grid-column: auto; flex-direction: column; }
}
@media(max-width: 500px) {
  h1 { font-size: var(--text-xl); } h2 { font-size: var(--text-lg); }
  .favorites-link span { display: none; } .favorites-link { gap: 3px; }
  .section-heading { align-items: end; }
  .filters > span { width: 100%; } .filters label span { padding: 6px 10px; }
  .vacancy { grid-template-columns: 23px minmax(0,1fr); padding: 15px 0; }
  .save { grid-row: 1/3; } .vacancy-country { grid-column: 2; grid-row: 2; margin-top: 6px; }
  .sidebar { grid-template-columns: minmax(0,1fr); gap: 28px; } .quick-search, .sidebar-note { grid-column: auto; }
  .country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .block-heading { display: block; } .block-heading p { margin-top: 10px; }
  .steps-grid { grid-template-columns: 1fr; } .section-block { padding: 50px 0; }
  .footer-grid { gap: 30px 18px; } .footer-column:nth-child(3) { grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { flex-wrap: wrap; }
}
