/* angajat.ro — flat design: hairline borders, no drop shadows, one green accent. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.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; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #15171c;
  --ink-2: #353a44;
  --muted: #646b78;
  --line: #e6e3dc;
  --line-2: #d6d2c8;
  --bg: #faf9f6;
  --card: #ffffff;
  --brand: #0d6b52;
  --brand-2: #0a5541;
  --brand-soft: #e6f2ed;
  --brand-tint: #f2f8f5;
  --sun: #ffd25a;
  --warn-bg: #fff6e0;
  --warn-line: #f0d48a;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── header ─────────────────────────────────────────────── */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; color: var(--ink); }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1rem; font-weight: 800; letter-spacing: -0.05em; }
.logo .tld { color: var(--brand); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--ink-2); font-weight: 520; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { background: var(--brand-tint); color: var(--brand-2); text-decoration: none; }
.header-cta { margin-left: auto; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 12px 14px; margin: 0; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
}

/* ── buttons, chips ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 620; font-size: .95rem; line-height: 1;
  padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 1rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 550; color: var(--ink-2); background: #f1efe9; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.chip-green { background: var(--brand-soft); color: var(--brand-2); }
.chip-sun { background: #fff1c2; color: #6b4e00; }
.chip-gray { background: #eeece6; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip:hover { background: var(--brand-soft); color: var(--brand-2); text-decoration: none; }

/* ── search bar ─────────────────────────────────────────── */
.search { display: grid; grid-template-columns: 1.3fr 1fr auto; background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.search label { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 60px; }
.search label + label { border-left: 1px solid var(--line); }
.search svg { flex: none; color: var(--muted); }
.search input { border: 0; outline: 0; font: inherit; font-size: 1rem; width: 100%; background: transparent; color: var(--ink); padding: 14px 0; }
.search input::placeholder { color: #8b919c; }
.search .btn { margin: 7px; border-radius: 9px; padding: 0 24px; }
.search:focus-within { border-color: var(--brand); }
@media (max-width: 720px) {
  .search { grid-template-columns: 1fr; }
  .search label + label { border-left: 0; border-top: 1px solid var(--line); }
  .search .btn { min-height: 50px; }
}
.search-compact { grid-template-columns: 1.3fr 1fr auto; border-width: 1px; border-color: var(--line-2); }
.search-compact label { min-height: 50px; }

/* ── hero ───────────────────────────────────────────────── */
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background:
  radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 60%), var(--bg); }
.hero h1 { max-width: 19ch; margin-bottom: .35em; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); color: inherit; padding: 0 .06em; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 28px; }
.hero .search { max-width: 880px; }
.hero-cities { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.hero-cities span { color: var(--muted); margin-right: 4px; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 36px; }
.stat b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .875rem; }

/* ── sections ───────────────────────────────────────────── */
.section { padding: 56px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* ── job list ───────────────────────────────────────────── */
.job-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.job-list > li + li { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; padding: 18px 20px; align-items: start; position: relative; }
.job:hover { background: var(--brand-tint); }
.job:first-child:hover { border-radius: var(--radius) var(--radius) 0 0; }
.job:last-child:hover { border-radius: 0 0 var(--radius) var(--radius); }
.job h3 { font-size: 1.05rem; margin: 0 0 4px; font-weight: 650; letter-spacing: -0.01em; }
.job h3 a { color: var(--ink); }
.job h3 a::after { content: ''; position: absolute; inset: 0; }
.job h3 a:hover { text-decoration: none; }
.job:hover h3 a { color: var(--brand-2); }
.job .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .875rem; }
.job .meta span { display: inline-flex; align-items: center; gap: 5px; }
.job .side { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.job .when { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.job.closed h3 a { color: var(--muted); }
@media (max-width: 640px) {
  .job { grid-template-columns: 40px 1fr; padding: 16px; }
  .job .side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}
.avatar { width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; color: var(--brand-2);
  background: var(--brand-soft); border: 1px solid #d3e7df; overflow: hidden; text-transform: uppercase; }
.avatar { position: relative; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.avatar-lg { width: 72px; height: 72px; border-radius: 16px; font-size: 1.5rem; }
@media (max-width: 640px) { .avatar { width: 40px; height: 40px; font-size: .95rem; } }

/* ── listing page ───────────────────────────────────────── */
.page-head { padding: 36px 0 28px; border-bottom: 1px solid var(--line); background: var(--card); }
.page-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: .3em; }
.page-head .lead { color: var(--ink-2); max-width: 70ch; margin: 0 0 20px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { color: #b7b3a9; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.result-bar .count { font-weight: 600; }
.sort { display: flex; gap: 4px; background: #efede7; padding: 3px; border-radius: 10px; font-size: .875rem; }
.sort a { padding: 5px 12px; border-radius: 8px; color: var(--ink-2); }
.sort a[aria-current] { background: var(--card); color: var(--ink); font-weight: 600; outline: 1px solid var(--line); }
.sort a:hover { text-decoration: none; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel h2, .panel h3 { font-size: 1rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .92rem; }
.link-list li + li { border-top: 1px dashed var(--line); }
.link-list .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--ink-2); }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: .95rem; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 550; font-size: .92rem; }
.pager a:hover { border-color: var(--ink); text-decoration: none; }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; background: none; }

/* ── prose (city intros, blog, job descriptions) ────────── */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; color: var(--ink); background: #f4f2ed; }

/* ── job page ───────────────────────────────────────────── */
.job-head { padding: 36px 0 32px; background: var(--card); border-bottom: 1px solid var(--line); }
.job-head .top { display: flex; gap: 20px; align-items: flex-start; }
.job-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); margin: 0 0 8px; }
.job-head .company { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 14px; }
.job-head .company a { color: var(--ink-2); font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; }
.facts svg { color: var(--brand); margin-top: 3px; }
.facts b { display: block; font-weight: 600; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.apply-box { position: sticky; top: 88px; }
.apply-box .salary { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; margin: 2px 0 14px; }
.apply-note { font-size: .8125rem; color: var(--muted); margin: 10px 0 0; }

/* ── tiles (cities, companies, categories) ──────────────── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tile { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); }
.tile:hover { border-color: var(--brand); color: var(--brand-2); text-decoration: none; }
.tile b { font-weight: 620; }
.tile .n { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.tile .arrow { color: var(--line-2); }
.tile:hover .arrow { color: var(--brand); }
.company-tile { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; justify-content: initial; }
.company-tile .avatar { width: 44px; height: 44px; }
.company-tile span { display: block; line-height: 1.3; min-width: 0; }
.company-tile b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── blog ───────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.post-card:hover { border-color: var(--brand); text-decoration: none; color: var(--ink); }
.post-card .cover { aspect-ratio: 16 / 8; display: grid; place-items: end start; padding: 18px; color: #fff; font-weight: 750; font-size: 1.05rem; letter-spacing: -0.02em; }
.post-card .body { padding: 18px 20px 20px; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card .kicker { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 8px; }
.article { max-width: 740px; margin: 0 auto; padding: 40px 0 64px; }
.article h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
.article .byline { color: var(--muted); font-size: .9rem; margin-bottom: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 28px; font-size: .95rem; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; }

/* ── faq ────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 620; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }

/* ── footer ─────────────────────────────────────────────── */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.footer-about p { color: var(--muted); max-width: 34ch; margin-top: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ── misc ───────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.cta-band { background: var(--ink); color: #fff; border-radius: 18px; padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #c9ccd3; margin: 0; }
.cta-band .btn-primary { background: var(--sun); color: var(--ink); }
.cta-band .btn-primary:hover { background: #ffdf85; color: var(--ink); }
.desc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
@media (max-width: 640px) { .desc { padding: 20px; } }
.desc h2 { font-size: 1.2rem; margin-top: 0; }

/* mobile overrides that must win over later base rules */
@media (max-width: 860px) { .site-header .header-cta { display: none; } }
@media (max-width: 720px) {
  .search.search-compact { grid-template-columns: 1fr; }
  .search .btn { margin: 0 7px 7px; }
  .job .meta { gap: 2px 10px; }
  .layout { padding-top: 20px; }
}
.job > div { min-width: 0; }
.job h3 { overflow-wrap: anywhere; }
