/* ==========================================================
   Glink Manpower Consultancy — 2026 redesign
   Brand colour kept from the original site: #63be6c
   ========================================================== */
:root {
  --brand: #63be6c;          /* Glink green (original --thm-base) */
  --brand-600: #4fa858;
  --brand-700: #3d8c46;
  --brand-50: #eef8ef;
  --brand-100: #d9f0db;
  --ink: #1c1e22;            /* original dark */
  --ink-2: #222429;
  --ink-soft: #2c3036;
  --text: #4b5058;
  --muted: #7a7f87;
  --line: #e9ebee;
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(28, 30, 34, .07);
  --shadow-lg: 0 24px 60px rgba(28, 30, 34, .14);
  --container: 1220px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s; font-family: inherit;
  white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform .25s; }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(99, 190, 108, .35); }
.btn-primary:hover { background: var(--brand-700); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand-700); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9ccd1; font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 22px; height: 42px; }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); margin-right: 6px; }
.topbar .ticker { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: inline-flex; gap: 34px; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-track span b { color: #fff; font-weight: 600; }
.ticker-track span .tag { background: rgba(99,190,108,.18); color: var(--brand); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; margin-left: 6px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar .verified { color: var(--brand); font-weight: 600; white-space: nowrap; }
.topbar .socials { display: flex; gap: 12px; }
.topbar .socials i { margin: 0; color: #c9ccd1; }
.topbar .socials a:hover i { color: var(--brand); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 8px 30px rgba(28,30,34,.08); }
.header .container { display: flex; align-items: center; gap: 30px; height: 82px; }
.logo img { height: 58px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 10px; }
.nav > ul > li > a i { font-size: 10px; opacity: .6; }
.nav > ul > li > a:hover, .nav > ul > li.active > a { color: var(--brand-700); }
.nav > ul > li.active > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--brand); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s; border: 1px solid var(--line); }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.dropdown a i { color: var(--brand); width: 18px; text-align: center; }
.dropdown a:hover { background: var(--brand-50); color: var(--brand-700); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; }
.header-phone .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.header-phone b { display: block; color: var(--ink); font-size: 15px; }
.menu-toggle { display: none; background: var(--ink); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 12px; font-size: 18px; cursor: pointer; }

/* ---------- Section basics ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { font-size: 17px; color: var(--muted); }
.section-head.left { margin-left: 0; text-align: left; }
.hl { color: var(--brand); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 3; padding: 44px 0 56px; background: radial-gradient(1000px 500px at 85% -10%, var(--brand-50), transparent 60%), linear-gradient(180deg, #fff, #f7faf7); overflow-x: clip; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(28,30,34,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 26px; }
.badge span { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 .hl { display: block; background: linear-gradient(90deg, var(--brand-700), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 17px; max-width: 580px; color: var(--text); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); padding-top: 26px; max-width: 600px; }
.hero-stats div { padding-right: 14px; }
.hero-stats b { display: block; font-size: 32px; color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero-stats > div > span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

.hero-card { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; max-height: calc(100vh - 200px); min-height: 440px; margin-left: auto; box-shadow: var(--shadow-lg); background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.hero-slide.active img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,30,34,0) 35%, rgba(28,30,34,.88)); }
.hero-slide .cap { position: absolute; left: 30px; right: 30px; bottom: 34px; z-index: 2; color: #fff; }
.hero-slide .cap small { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; background: var(--brand); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.hero-slide .cap h3 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.hero-slide .cap p { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; }
.hero-dots { position: absolute; top: 22px; right: 22px; z-index: 3; display: flex; gap: 6px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .3s; }
.hero-dots button.active { width: 26px; background: #fff; }
.hero-arrows { position: absolute; top: 50%; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 3; transform: translateY(-50%); pointer-events: none; }
.hero-arrows button { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.hero-arrows button:hover { background: var(--brand); color: #fff; }
.float-card { position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.3; }
.float-card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 18px; }
.float-card b { display: block; color: var(--ink); font-size: 16px; }
.float-card.one { left: -34px; top: 90px; animation: floaty 5s ease-in-out infinite; }
.float-card.two { right: 24px; bottom: -28px; animation: floaty 6s ease-in-out infinite reverse; }
.hero-slide .cap { bottom: 64px; }
.hero-dots { right: auto; left: 22px; }
.hero-visual { position: relative; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: all .3s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-size: 22px; margin-bottom: 22px; transition: all .3s; }
.card:hover .ico { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- Process ---------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 18px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .num { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 24px; background: #fff; border: 2px solid var(--brand); color: var(--brand-700); font-size: 22px; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg-soft); transition: all .3s; }
.step:hover .num { background: var(--brand); color: #fff; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 30px; padding: 70px 60px; background: linear-gradient(120deg, var(--ink) 0%, #23312a 60%, var(--brand-700) 140%); color: #fff; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px; background: radial-gradient(circle, rgba(99,190,108,.45), transparent 65%); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 20px 20px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- About / intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-media { position: relative; }
.intro-media .main { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/5.4; }
.intro-media .main img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .exp { position: absolute; right: -24px; bottom: 40px; background: var(--brand); color: #fff; border-radius: 22px; padding: 26px 30px; box-shadow: var(--shadow-lg); max-width: 220px; }
.intro-media .exp b { font-size: 44px; display: block; line-height: 1; font-weight: 800; }
.intro-media .exp span { font-size: 14px; opacity: .9; }
.intro-media .ring { position: absolute; left: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid var(--brand-50); z-index: -1; }
.intro h2 { font-size: clamp(30px, 4vw, 44px); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 32px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.checklist li i { color: var(--brand); width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; font-size: 10px; flex: none; }
.highlight-box { border-left: 4px solid var(--brand); background: var(--brand-50); padding: 18px 22px; border-radius: 0 14px 14px 0; color: var(--ink); font-weight: 600; margin: 22px 0; }

/* ---------- VMV ---------- */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv .item { border-radius: var(--radius); padding: 36px 32px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.vmv .item::after { content: attr(data-n); position: absolute; right: 18px; top: 4px; font-size: 90px; font-weight: 800; color: var(--brand-50); line-height: 1; z-index: 0; }
.vmv .item > * { position: relative; z-index: 1; }
.vmv .item.dark { background: var(--ink); border-color: var(--ink); }
.vmv .item.dark h3 { color: #fff; }
.vmv .item.dark p { color: rgba(255,255,255,.7); }
.vmv .item.dark::after { color: rgba(255,255,255,.05); }
.vmv .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 22px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ind { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/3.6; background: var(--ink); }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; opacity: .92; }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28,30,34,.9)); transition: background .3s; }
.ind:hover img { transform: scale(1.08); }
.ind:hover::after { background: linear-gradient(180deg, rgba(61,140,70,.15) 20%, rgba(61,140,70,.92)); }
.ind .label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.ind .label small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-weight: 700; }
.ind .label h3 { color: #fff; font-size: 17px; margin: 2px 0 0; }

/* ---------- CEO message ---------- */
.ceo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.ceo-card { background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow-lg); position: relative; }
.ceo-card .photo { border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); aspect-ratio: 4/4.4; display: grid; place-items: center; }
.ceo-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-card .photo .initials { font-size: 96px; font-weight: 800; color: var(--brand-700); letter-spacing: -.04em; }
.ceo-card .name { padding: 18px 10px 6px; }
.ceo-card .name b { color: var(--ink); font-size: 18px; display: block; }
.ceo-card .name span { font-size: 14px; color: var(--muted); }
.ceo blockquote { margin: 0; font-size: 17px; }
.ceo blockquote .q { font-size: 70px; line-height: .5; color: var(--brand); font-family: Georgia, serif; display: block; margin-bottom: 18px; }
.signature { font-weight: 800; color: var(--ink); font-size: 18px; margin-top: 18px; }
.signature span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---------- Clients ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: ticker 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 180px; height: 100px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 16px; transition: all .3s; }
.logo-tile img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: all .3s; }
.logo-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }
.marquee + .marquee { margin-top: 22px; }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.client-grid .logo-tile { width: auto; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.testi .stars { color: #f5b301; font-size: 13px; letter-spacing: 2px; margin-bottom: 16px; }
.testi p { font-size: 15px; color: var(--text); flex: 1; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.testi.open p { -webkit-line-clamp: unset; }
.testi .more { background: none; border: 0; padding: 0; color: var(--brand-700); font-weight: 700; cursor: pointer; font-family: inherit; font-size: 14px; text-align: left; margin-bottom: 20px; }
.testi .who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.testi .who img, .testi .who .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; }
.testi .who b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.testi .who span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.slider-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.testi-masonry { columns: 3; column-gap: 24px; }
.testi-masonry .testi { break-inside: avoid; margin-bottom: 24px; display: block; }
.testi-masonry .testi p { -webkit-line-clamp: unset; display: block; }

/* ---------- Subsidiaries ---------- */
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sub { display: flex; align-items: center; justify-content: center; height: 140px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; transition: all .3s; }
.sub img { max-height: 80px; width: auto; }
.sub:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateY(-4px); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 90px 0 80px; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 25%, rgba(28,30,34,.6) 70%, rgba(61,140,70,.55)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 640px; font-size: 18px; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: 10px; align-self: center; }
.crumbs span:last-child { color: var(--brand); }

/* ---------- Timeline (recruitment procedure) ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--brand), var(--brand-100)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 34px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 34px 44px; }
.tl-item .dot { position: absolute; top: 18px; right: -19px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; z-index: 1; }
.tl-item:nth-child(even) .dot { right: auto; left: -19px; }
.tl-item .box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; transition: all .3s; }
.tl-item .box:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.tl-item h4 { margin: 0 0 4px; font-size: 17px; }
.tl-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Doc lists ---------- */
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; font-weight: 600; color: var(--ink); transition: all .25s; }
.doc-list li:hover { border-color: var(--brand); transform: translateX(4px); }
.doc-list li i { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.panel { background: var(--bg-soft); border-radius: 24px; padding: 40px; }
.panel.dark { background: var(--ink); color: rgba(255,255,255,.75); }
.panel.dark h2, .panel.dark h3 { color: #fff; }
.panel.dark .doc-list li { background: var(--ink-soft); border-color: rgba(255,255,255,.08); color: #fff; }
.panel.dark .doc-list li i { background: rgba(99,190,108,.15); color: var(--brand); }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }
.service-list li .n { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 800; }

.tabs-side { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.side-nav { position: sticky; top: 110px; display: grid; gap: 10px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.side-nav a:hover { background: var(--brand); color: #fff; }
.side-help { background: var(--ink); border-radius: 18px; padding: 28px; color: rgba(255,255,255,.75); margin-top: 10px; }
.side-help h4 { color: #fff; }
.side-help a { display: block; color: #fff; font-weight: 700; margin-top: 8px; }
.side-help a i { color: var(--brand); margin-right: 8px; }
.content-block { margin-bottom: 56px; scroll-margin-top: 110px; }
.content-block h2 { font-size: 32px; }

/* ---------- Countries ---------- */
.countries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.country { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); font-size: 15px; transition: all .25s; }
.country .flag { font-size: 26px; line-height: 1; }
.country:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info .item { display: flex; gap: 18px; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.contact-info .item .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.contact-info .item h4 { margin: 0 0 4px; font-size: 17px; }
.contact-info .item p, .contact-info .item a { margin: 0; font-size: 15px; display: block; }
.contact-info .item a:hover { color: var(--brand-700); }
.form { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); font-family: inherit; font-size: 15px; color: var(--ink); transition: all .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(99,190,108,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-success { display: none; padding: 14px 18px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; margin-top: 14px; }
.map { border-radius: 24px; overflow: hidden; height: 420px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: 90px; position: relative; overflow: hidden; font-size: 15px; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: -250px; top: -300px; background: radial-gradient(circle, rgba(99,190,108,.16), transparent 65%); }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 22px; }
.footer .flogo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 14px; margin-bottom: 22px; }
.footer .flogo img { height: 52px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }
.footer a:hover { color: var(--brand); }
.licence { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(99,190,108,.35); background: rgba(99,190,108,.08); padding: 12px 16px; border-radius: 14px; margin-top: 8px; }
.licence i { color: var(--brand); font-size: 22px; }
.licence b { color: #fff; display: block; font-size: 14px; }
.licence span { font-size: 12px; }
.fcontact li { display: flex; gap: 12px; align-items: flex-start; }
.fcontact li i { color: var(--brand); margin-top: 5px; width: 16px; }
.fsocials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.fsocials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: all .2s; }
.fsocials a:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom a { color: #fff; }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .ticker-track, .marquee-track, .float-card { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .industries { grid-template-columns: repeat(4, 1fr); }
  .client-grid { grid-template-columns: repeat(5, 1fr); }
  .countries { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; padding: 90px 24px 30px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 200; margin: 0; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav > ul > li.active > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 10px; min-width: 0; }
  .nav-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg-soft); font-size: 18px; cursor: pointer; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(28,30,34,.5); z-index: 150; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .hero .container, .intro, .ceo, .contact-grid, .tabs-side { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .grid-3, .vmv, .subs { grid-template-columns: repeat(2, 1fr); }
  .testi { flex-basis: calc((100% - 24px) / 2); }
  .testi-masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-nav { position: static; }
  .intro-media { max-width: 560px; }
}
@media (min-width: 1025px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 760px) {
  .topbar .ticker, .topbar .verified, .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: space-between; }
  .section { padding: 70px 0; }
  .header .container { height: 70px; }
  .logo img { height: 46px; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .float-card.one { left: 8px; bottom: 100px; }
  .float-card.two { right: 8px; top: 60px; }
  .grid-4, .grid-3, .grid-2, .steps, .vmv, .subs, .service-list { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .countries { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .testi { flex-basis: 88%; }
  .testi-masonry { columns: 1; }
  .cta-band { padding: 50px 24px; border-radius: 22px; }
  .intro-media .exp { right: 10px; bottom: 16px; padding: 18px 22px; }
  .intro-media .exp b { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .panel { padding: 26px; }
  .timeline::before { left: 19px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 24px 56px; }
  .tl-item .dot, .tl-item:nth-child(even) .dot { left: 0; right: auto; }
  .logo-tile { width: 150px; height: 86px; }
}

/* side-help links must not inherit the side-nav pill style */
.side-nav .side-help a { display: block; padding: 0; background: none; color: #fff; font-weight: 700; margin-top: 10px; border-radius: 0; font-size: 14px; }
.side-nav .side-help a:hover { background: none; color: var(--brand); }
.ceo blockquote .q { margin-bottom: 0; height: 30px; }
/* backdrop-filter makes the header a containing block for fixed children, which clips the mobile drawer */
@media (max-width: 1024px) { .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 1024px) { .nav-backdrop { z-index: 95; } }
/* keep nav labels and header phone on one line */
.nav > ul > li > a, .header-phone, .header-phone span { white-space: nowrap; }
.header-phone > span:last-child { display: block; }
.header .container { gap: 20px; }
@media (max-width: 1320px) { .header-phone { display: none; } }
/* header phone on a single line: "Qatar +974 ..." */
.header-phone b { display: inline; margin-left: 4px; }
.header-phone { font-size: 14px; }
@media (max-width: 1400px) { .header-phone { display: none; } }

/* ==========================================================
   CMS pages (Strapi): Jobs, Blog, CV Builder
   ========================================================== */
.cms-status { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.cms-status i { font-size: 30px; color: var(--brand); display: block; margin-bottom: 12px; }
.cms-status.error i { color: #d9534f; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft) 25%, #eceef2 37%, var(--bg-soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.4; }
.chip.green { background: var(--brand-50); color: var(--brand-700); }
.chip.dark { background: var(--ink); color: #fff; }
.chip.warn { background: #fff4e0; color: #9a5b00; }

/* Filters */
.filter-bar { margin-bottom: 26px; }
.search-pill { display: flex; align-items: center; background: #fff; border: 1px solid #9aa0a8; border-radius: 16px; padding: 6px 6px 6px 4px; box-shadow: var(--shadow); }
.search-pill:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100), var(--shadow); }
.search-pill .search { flex: 1 1 0; min-width: 0; }
.search-pill .search-loc { flex: .95 1 0; }
.search-pill .search-loc::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; border-left: 1px solid var(--line); }
.search-pill .search { position: relative; }
.search-pill .search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink); font-size: 16px; }
.search-pill input { width: 100%; padding: 12px 14px 12px 48px; border: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); }
.search-pill input:focus { outline: none; }
.search-pill input::placeholder { color: var(--muted); }
.search-pill .btn { flex: none; padding: 12px 26px; border-radius: 12px; }
.home-search { max-width: 640px; }
.home-search .search-pill { padding: 8px 8px 8px 4px; }
.home-search .popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; padding: 0 6px; font-size: 14px; color: var(--muted); }
.home-search .popular span { font-weight: 600; color: var(--ink); }
.home-search .popular a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.home-search .popular a:hover { color: var(--brand-700); text-decoration-color: currentColor; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 18px; padding: 0 6px; font-size: 14.5px; color: var(--muted); }
.hero-links a { font-weight: 700; color: var(--brand-700); }
.hero-links a i { font-size: 12px; margin-left: 4px; transition: transform .2s; }
.hero-links a:hover i { transform: translateX(3px); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.filter-row select { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.filter-row select:focus { outline: none; border-color: var(--brand); }
.search-pill .search .suggest, .has-suggest .suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; max-height: 420px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; }
.search-pill .search .suggest[hidden], .has-suggest .suggest[hidden] { display: none; }
.field.has-suggest { position: relative; }
.has-suggest .suggest { top: calc(100% + 6px); max-height: 300px; }
.suggest-head { padding: 10px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.search-pill .search .suggest-item i, .has-suggest .suggest-item i { position: static; transform: none; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; }
.suggest-item span { display: flex; flex-direction: column; min-width: 0; }
.suggest-item b { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.suggest-item small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item mark { background: none; color: var(--brand-700); font-weight: 800; }
.suggest-item:hover, .suggest-item[aria-selected="true"] { background: var(--bg-soft); }
.suggest-empty { padding: 14px 12px; color: var(--muted); font-size: 14px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.results-meta b { color: var(--ink); }
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.cat-chips button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; }
.cat-chips button:hover { border-color: var(--brand); color: var(--brand-700); }
.cat-chips button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Job cards */
.jobs-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: 58px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all .25s; position: relative; }
.job-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.job-card .jico { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 22px; }
.job-card h3 { font-size: 19px; margin: 0 0 6px; }
.job-card h3 a:hover { color: var(--brand-700); }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.job-meta i { color: var(--brand); margin-right: 6px; }
.job-card p { margin: 0; font-size: 14px; color: var(--text); }
.job-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.job-card .side { text-align: right; display: grid; gap: 10px; justify-items: end; }
.job-card .side small { font-size: 12px; color: var(--muted); }
.job-card .btn { padding: 11px 20px; font-size: 14px; position: relative; z-index: 1; }
.aside-card { background: var(--ink); color: rgba(255,255,255,.75); border-radius: 22px; padding: 30px; position: sticky; top: 110px; }
.aside-card h3 { color: #fff; font-size: 22px; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 10px; }
.aside-card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.aside-card ul { margin: 14px 0 6px; }
.aside-card li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.aside-card li i { color: var(--brand); margin-top: 5px; }

/* Job detail */
.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.summary-card dl { margin: 0 0 20px; display: grid; gap: 14px; }
.summary-card dl div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.summary-card dt { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.summary-card dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.summary-card dd b { display: block; color: var(--ink); font-size: 15px; }
.summary-card .btn { width: 100%; justify-content: center; }
.summary-card .btn + .btn { margin-top: 10px; }
.job-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.job-hero-meta .chip { background: rgba(255,255,255,.1); color: #fff; }
.job-hero-meta .chip.green { background: var(--brand); }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 500; }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li i { color: #fff; background: var(--brand); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; flex: none; margin-top: 3px; }

/* Rich text (Strapi blocks) */
.prose { font-size: 17px; color: var(--text); }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { font-size: 22px; margin-top: 1.3em; }
.prose h4, .prose h5, .prose h6 { font-size: 18px; margin-top: 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 14px 14px 0; color: var(--ink); font-weight: 500; }
.prose img { border-radius: 16px; margin: 1.4em 0; height: auto; }
.prose pre { background: var(--ink); color: #e9ecef; padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 14px; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose > *:first-child { margin-top: 0; }

/* Application form */
.apply-wrap { margin-top: 50px; scroll-margin-top: 110px; }
.apply-tabs { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 5px; margin-bottom: 22px; gap: 4px; flex-wrap: wrap; }
.apply-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.apply-tabs button.active { background: #fff; box-shadow: var(--shadow); color: var(--brand-700); }
.file-drop { display: flex; align-items: center; gap: 16px; border: 2px dashed var(--line); border-radius: 14px; padding: 18px; background: var(--bg-soft); cursor: pointer; transition: all .2s; position: relative; }
.file-drop:hover, .file-drop.drag { border-color: var(--brand); background: var(--brand-50); }
.file-drop i { font-size: 26px; color: var(--brand); }
.file-drop b { color: var(--ink); display: block; font-size: 15px; }
.file-drop span { font-size: 13px; color: var(--muted); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field .err { display: block; color: #c0392b; font-size: 13px; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid select, .field.invalid .file-drop { border-color: #e57373; background: #fff6f6; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-top: 14px; font-size: 15px; }
.form-alert.show { display: block; }
.form-alert.ok { background: var(--brand-50); color: var(--brand-700); }
.form-alert.bad { background: #fdecea; color: #a12a1f; }
.btn[disabled] { opacity: .65; cursor: progress; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .3s; position: relative; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--ink), #23312a 60%, var(--brand-700)); position: relative; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.25); font-size: 54px; }
.post-card .thumb .chip { position: absolute; left: 16px; top: 16px; background: var(--brand); color: #fff; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card .meta i { color: var(--brand); margin-right: 5px; }
.post-card h3 { font-size: 19px; margin-bottom: 10px; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: 15px; color: var(--muted); flex: 1; }
.post-card .read { font-weight: 700; color: var(--brand-700); font-size: 14px; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.featured .thumb { aspect-ratio: auto; min-height: 340px; }
.post-card.featured .body { padding: 40px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(24px, 3vw, 34px); }
.load-more { text-align: center; margin-top: 40px; }

.article { max-width: 800px; margin: 0 auto; }
.article-cover { border-radius: 24px; overflow: hidden; margin: -190px auto 40px; max-width: 1000px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); aspect-ratio: 16/8; background: var(--ink); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.post-hero.has-cover { padding-bottom: 190px; }
.page-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: 14px; margin-top: 18px; }
.page-hero .meta i { color: var(--brand); margin-right: 6px; }
.share { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 40px; flex-wrap: wrap; }
.share b { color: var(--ink); margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .2s; font-size: 15px; }
.share a:hover, .share button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Home: latest vacancies */
.home-jobs .job-list { grid-template-columns: repeat(2, 1fr); }

/* CV Builder (Europe-standard CV editor) */
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--brand-700); }
.cvx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 30px; align-items: start; }
.cvx-head h2 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.02em; }
.cvx-head p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.cvx-docrow { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.cvx-docrow .field { flex: 1 1 220px; margin: 0; }
.cvx-docrow .field input { background: #fff; padding: 12px 14px; }
.cvx-docbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.cvx-sections { display: grid; gap: 14px; }
#cvForm { display: grid; gap: 14px; }
.cvb-sec { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.cvb-sec > summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 17px; }
.cvb-sec > summary::-webkit-details-marker { display: none; }
.cvb-sec > summary .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 14px; flex: none; }
.cvb-sec[open] > summary .ic { background: var(--brand); color: #fff; }
.cvb-sec > summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; font-size: 12px; color: var(--muted); transition: transform .2s; }
.cvb-sec[open] > summary::after { transform: rotate(180deg); }
.cvb-sec.is-hidden > summary .t { color: var(--muted); text-decoration: line-through; }
.cvb-sec .inner { padding: 0 20px 20px; }
.cvx-count { background: var(--bg-soft); color: var(--muted); font-size: 12px; border-radius: 999px; padding: 2px 9px; }
.cvx-badge { background: #fff4e0; color: #9a6400; font-size: 11px; border-radius: 999px; padding: 2px 9px; text-transform: uppercase; letter-spacing: .06em; }
.cvx-sectools { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.cvx-sectools > div { display: flex; gap: 4px; flex: none; }
.cvx-intro { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.55; }
.cvx-tool { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; }
.cvx-tool:hover { color: var(--brand-700); border-color: var(--brand); }
.cvx-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.cvx-grid .wide, .cvx-grid .cvx-phone { grid-column: 1 / -1; }
.cvx-grid .field { margin-bottom: 14px; }
.cvx-grid .field input, .cvx-grid .field select, .cvx-grid .field textarea { padding: 11px 13px; font-size: 14.5px; border-radius: 10px; }
.cvx-grid .field textarea { min-height: 96px; }
.cvx-grid .field input:disabled { opacity: .5; }
.cvx-phone { display: grid; grid-template-columns: 140px 1fr; column-gap: 14px; }
.cvx-photo { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.cvx-photo .ph { width: 84px; height: 100px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; flex: none; color: #c3c7cd; font-size: 34px; border: 1px solid var(--line); }
.cvx-photo .ph img { width: 100%; height: 100%; object-fit: cover; }
.cvx-photo b { display: block; color: var(--ink); }
.cvx-photo small { display: block; color: var(--muted); margin: 2px 0 8px; }
.cvx-photo .btns { display: flex; gap: 6px; }
.cvx-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--bg-soft); }
.cvx-item > summary { list-style: none; cursor: pointer; padding: 13px 16px; display: grid; gap: 2px; position: relative; padding-right: 40px; }
.cvx-item > summary::-webkit-details-marker { display: none; }
.cvx-item > summary::after { content: "\f304"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--brand-700); }
.cvx-item[open] > summary::after { content: "\f077"; }
.cvx-item .it-t { font-weight: 700; color: var(--ink); }
.cvx-item .it-s { font-size: 13px; color: var(--muted); }
.cvx-item[open] { background: #fff; box-shadow: 0 0 0 2px var(--brand-100); }
.cvx-item > .cvx-grid { padding: 4px 16px 0; }
.cvx-item-tools { display: flex; gap: 6px; padding: 0 16px 14px; }
.cvx-del { margin-left: auto; border: 0; background: none; color: #c0392b; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.cvx-del:hover { background: #fdecea; }
.cvx-sub { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.cvx-cefr { margin-bottom: 14px; }
.cvx-cefr .h { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); margin-bottom: 6px; }
.cvx-cefr .h span { border-bottom: 2px solid var(--brand-100); padding-bottom: 4px; }
.cvx-cefr .g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cvx-cefr .g .field { margin: 0; }
.cvx-cefr .g label { font-size: 11.5px; min-height: 30px; }
.cvx-group { border: 1px dashed var(--line); border-radius: 12px; padding: 14px 14px 8px; margin-bottom: 10px; }
.cvx-group .field { margin-bottom: 10px; }
.cvx-group .field input { padding: 10px 12px; font-size: 14px; border-radius: 10px; }
.cvx-group .cvx-del { display: block; margin: 6px 0 0 auto; }
.cvx-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cvx-cats label { cursor: pointer; }
.cvx-cats input { position: absolute; opacity: 0; }
.cvx-cats span { display: inline-block; min-width: 46px; text-align: center; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; background: #fff; }
.cvx-cats input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.cvx-cats input:focus-visible + span { outline: 3px solid var(--brand-100); }
.add-btn { border: 2px dashed var(--line); background: none; width: 100%; padding: 12px; border-radius: 12px; font: inherit; font-weight: 700; color: var(--brand-700); cursor: pointer; }
.add-btn:hover { border-color: var(--brand); background: var(--brand-50); }
.check-inline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); margin: -4px 0 14px; }
.check-inline input { accent-color: var(--brand); width: 16px; height: 16px; }
.skill-input { display: flex; flex-wrap: wrap; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: text; }
.skill-input input { flex: 1; min-width: 160px; border: 0 !important; background: transparent !important; padding: 5px !important; box-shadow: none !important; font: inherit; font-size: 14px; outline: none; }
.skill-input .chip { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.skill-input .chip button { border: 0; background: none; color: var(--brand-700); cursor: pointer; padding: 0 0 0 4px; font-size: 12px; }
.cvx-send .inner .field textarea { min-height: 90px; }
.cvb-job { display: none; align-items: center; gap: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 16px; padding: 16px 20px; color: var(--ink); font-weight: 600; margin-bottom: 18px; }
.cvb-job.show { display: flex; }
.cvb-job i { color: var(--brand-700); font-size: 20px; }
.cvx-preview { position: sticky; top: 96px; min-width: 0; }
.cvx-edit { min-width: 0; }
.cvx-custom { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.cvx-custom-t { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.cvx-custom-t i { color: var(--brand-700); margin-right: 4px; }
.cvx-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cvx-opt span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.cvx-opt select { width: 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-soft); font: inherit; font-size: 13.5px; color: var(--ink); }
.cvx-opt select:focus { outline: none; border-color: var(--brand); }
.cvx-stage { background: #dfe3e8; border-radius: 14px; padding: 12px; max-height: calc(100vh - 330px); min-height: 420px; overflow: auto; }
.cvx-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); margin-top: 34px; }
.cvx-bar .container { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.cvx-saved { margin-right: auto; font-size: 13px; color: var(--brand-700); font-weight: 600; }
.cvx-saved.err { color: #a12a1f; }
.cvx-dlg { border: 0; border-radius: 18px; padding: 26px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.cvx-dlg::backdrop { background: rgba(28,30,34,.45); }
.cvx-dlg h3 { margin: 0 0 18px; font-size: 22px; }
.cvx-dlg select { width: 100%; }
.cvx-dlg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.cvx-dlg-btns .btn { justify-content: center; }
.cvx-dlg-btns .btn:disabled { opacity: .45; cursor: not-allowed; }

/* CV paper (A4 at 96 dpi = 794 px wide; scaled to fit with zoom) */
.cv-paper { --cv-a: #3c9446; --cv-d: #1c1e22; --cv-s: #e9f6ea; background: #fff; color: #2b2f36; width: 794px; min-height: 1123px; margin: 0 auto; box-shadow: 0 6px 24px rgba(0,0,0,.14); font-family: "Inter", Arial, sans-serif; font-size: 12.5px; line-height: 1.5; position: relative; }
.cv-paper h1 { font-size: 2.15em; line-height: 1.12; margin: 0; color: var(--cv-d); letter-spacing: -.01em; }
.cv-paper .cv-headline { color: var(--cv-a); font-weight: 700; font-size: 1.12em; margin-top: 4px; }
.cv-paper .cv-logo { position: absolute; top: 26px; right: 38px; height: 34px; width: auto; }
.cv-paper .cv-photo { width: 104px; height: 125px; object-fit: cover; border-radius: 6px; flex: none; }
.cv-paper .cv-empty { color: #b8bcc2; font-style: italic; font-weight: 600; }
.cv-paper .cv-hint { margin: 40px 0; text-align: center; color: #9aa0a6; font-style: italic; }
.cv-paper .cv-sec { margin-top: 1.7em; }
.cv-paper .cv-sec h2 { font-size: 1.05em; text-transform: uppercase; letter-spacing: .08em; color: var(--cv-a); margin: 0 0 .9em; display: flex; align-items: center; gap: 10px; }
.cv-paper .cv-sec h2::after { content: ""; flex: 1; height: 1px; background: var(--cv-a); opacity: .5; }
.cv-paper .cv-item { margin-bottom: 1.1em; break-inside: avoid; }
.cv-paper .cv-when { font-size: .86em; color: #6b7178; font-weight: 600; letter-spacing: .02em; }
.cv-paper .cv-where { margin-left: 10px; color: #8a9097; font-weight: 500; }
.cv-paper .cv-where::before { content: "\2022"; margin-right: 10px; }
.cv-paper .cv-what h3 { font-size: 1.08em; margin: .1em 0 0; color: var(--cv-d); font-weight: 800; }
.cv-paper .cv-org { color: var(--cv-a); font-weight: 600; }
.cv-paper .cv-meta { font-size: .92em; color: #4a5058; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cv-paper .cv-desc { margin: .35em 0 0; }
.cv-paper ul.cv-desc { padding-left: 1.2em; }
.cv-paper ul.cv-desc li { margin-bottom: .15em; }
.cv-paper .cv-link { color: var(--cv-a); text-decoration: underline; font-size: .92em; word-break: break-all; }
.cv-paper .cv-skill { margin: 0 0 .5em; }
.cv-paper .cv-skill .sep, .cv-paper .cv-contact .sep { color: #b3b8be; margin: 0 4px; }
.cv-paper .cv-mother { margin: 0 0 .5em; }
.cv-paper .cv-cefr { width: 100%; border-collapse: collapse; margin: .3em 0 .4em; font-size: .92em; break-inside: avoid; }
.cv-paper .cv-cefr th, .cv-paper .cv-cefr td { border: 1px solid #dfe2e6; padding: 5px 6px; text-align: center; }
.cv-paper .cv-cefr thead th { background: var(--cv-s); color: var(--cv-d); font-size: .82em; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.cv-paper .cv-cefr tbody th { text-align: left; color: var(--cv-d); font-weight: 700; }
.cv-paper .cv-cefr tbody th small { display: block; font-weight: 500; color: #7a7f87; font-size: .86em; }
.cv-paper .cv-cefr td { font-weight: 700; color: var(--cv-a); }
.cv-paper .cv-note { font-size: .82em; color: #7a7f87; margin: 0; }
.cv-paper .cv-text p, .cv-paper .cv-sec-about p { margin: 0; }

/* Template: Classic (Europe-standard) */
.cv-paper.tpl-classic, .cv-paper.tpl-timeline, .cv-paper.tpl-minimal { padding: 40px 46px 46px; }
.tpl-classic .cv-head { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 18px; border-bottom: 3px solid var(--cv-a); padding-right: 130px; }
.tpl-classic .cv-contact { margin-top: 10px; font-size: .92em; display: flex; flex-wrap: wrap; gap: 2px 0; }
.tpl-classic .cv-contact span { margin-right: 8px; padding-right: 8px; border-right: 1px solid #cfd3d8; }
.tpl-classic .cv-contact span:last-child { border-right: 0; }
.tpl-classic .cv-contact b { color: var(--cv-d); }

/* Template: Timeline (coloured header, dates in a left column) */
.cv-paper.tpl-timeline { padding-top: 0; }
.tpl-timeline .cv-head { margin: 0 -46px; padding: 34px 46px 26px; background: var(--cv-d); color: #fff; display: flex; gap: 22px; align-items: center; padding-right: 160px; }
.tpl-timeline .cv-head h1 { color: #fff; }
.tpl-timeline .cv-head .cv-headline { color: #fff; opacity: .85; }
.tpl-timeline .cv-head .cv-photo { border-radius: 50%; width: 108px; height: 108px; border: 3px solid var(--cv-a); }
.tpl-timeline .cv-logo { background: #fff; padding: 6px 10px; border-radius: 8px; height: 44px; }
.tpl-timeline .cv-contact { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9em; color: rgba(255,255,255,.85); }
.tpl-timeline .cv-contact i { color: var(--cv-a); margin-right: 6px; filter: brightness(1.35); }
.tpl-timeline .cv-item { display: grid; grid-template-columns: 26% 1fr; gap: 16px; }
.tpl-timeline .cv-when { text-align: right; padding-top: 2px; }
.tpl-timeline .cv-where { display: block; margin: 2px 0 0; }
.tpl-timeline .cv-where::before { content: none; }
.tpl-timeline .cv-what { border-left: 2px solid var(--cv-s); padding-left: 16px; }

/* Template: Minimal */
.tpl-minimal .cv-head { text-align: center; padding-bottom: 16px; border-bottom: 1px solid #d8dce1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tpl-minimal .cv-head .cv-photo { width: 92px; height: 92px; border-radius: 50%; }
.tpl-minimal .cv-logo { left: 46px; right: auto; height: 28px; }
.tpl-minimal h1 { font-weight: 300; letter-spacing: .04em; text-transform: uppercase; font-size: 2em; }
.tpl-minimal .cv-contact { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 14px; font-size: .9em; color: #555b62; }
.tpl-minimal .cv-contact i { color: var(--cv-a); margin-right: 5px; }
.tpl-minimal .cv-sec h2 { justify-content: center; letter-spacing: .2em; font-weight: 600; }
.tpl-minimal .cv-sec h2::before { content: ""; flex: 1; height: 1px; background: var(--cv-a); opacity: .5; }
.tpl-minimal .cv-item .cv-when { float: right; margin-left: 14px; }
.tpl-minimal .cv-item::after { content: ""; display: block; clear: both; }

/* Template: Sidebar */
.cv-paper.tpl-sidebar { display: grid; grid-template-columns: 255px 1fr; }
.tpl-sidebar .cv-side { background: var(--cv-d); color: rgba(255,255,255,.85); padding: 38px 24px; }
.tpl-sidebar .cv-side .cv-photo { width: 130px; height: 156px; display: block; margin: 0 auto 8px; border-radius: 10px; border: 3px solid var(--cv-a); }
.tpl-sidebar .cv-avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--cv-a); color: #fff; display: grid; place-items: center; font-size: 2.6em; font-weight: 800; margin: 0 auto 8px; }
.tpl-sidebar .cv-side .cv-sec h2 { color: #fff; }
.tpl-sidebar .cv-side .cv-sec h2::after { background: var(--cv-a); opacity: 1; }
.tpl-sidebar .cv-ci { display: flex; gap: 10px; margin-bottom: 9px; word-break: break-word; }
.tpl-sidebar .cv-ci i { color: var(--cv-a); width: 14px; margin-top: 3px; flex: none; filter: brightness(1.35); }
.tpl-sidebar .cv-ci small { display: block; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.tpl-sidebar .cv-side .cv-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.tpl-sidebar .cv-side .cv-chips span { background: rgba(255,255,255,.1); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: .9em; }
.tpl-sidebar .cv-side .cv-sg { font-weight: 700; color: #fff; margin: 6px 0 5px; font-size: .92em; }
.tpl-sidebar .cv-lang-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin-bottom: 9px; }
.tpl-sidebar .cv-lang-row b { color: #fff; }
.tpl-sidebar .cv-lang-row span { font-size: .86em; color: rgba(255,255,255,.65); }
.tpl-sidebar .cv-dots { grid-column: 1 / -1; display: flex; gap: 4px; font-style: normal; }
.tpl-sidebar .cv-dots em { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); }
.tpl-sidebar .cv-dots em.on { background: var(--cv-a); filter: brightness(1.25); }
.tpl-sidebar .cv-side .cv-skill, .tpl-sidebar .cv-side .cv-text { color: rgba(255,255,255,.85); }
.tpl-sidebar .cv-side .cv-skill b { color: #fff; }
.tpl-sidebar .cv-main { padding: 40px 38px; }
.tpl-sidebar .cv-head { padding-right: 120px; padding-bottom: 6px; }
.tpl-sidebar .cv-logo { right: 34px; }
/* CV Builder start screen */
.cvs { display: none; max-width: 1000px; margin: 0 auto; }
.cvb-section.is-start .cvs { display: block; }
.cvb-section.is-start .cvx, .cvb-section.is-start .cvx-bar { display: none; }
.cvs h2 { margin: 0 0 22px; }
.cvs-card { display: flex; align-items: center; gap: 26px; background: #fff; border: 1px solid #e3e6ea; border-radius: 12px; padding: 26px 30px; margin-bottom: 18px; box-shadow: 0 4px 18px rgba(28,30,34,.05); transition: border-color .2s, box-shadow .2s; }
.cvs-card[hidden] { display: none; }
.cvs-card:hover { border-color: #63be6c; box-shadow: 0 8px 26px rgba(28,30,34,.09); }
.cvs-ic { flex: none; width: 60px; height: 60px; border-radius: 50%; background: #e9f6ea; color: #3c9446; display: grid; place-items: center; font-size: 26px; }
.cvs-tx { flex: 1; min-width: 0; }
.cvs-tx h3 { margin: 0 0 4px; font-size: 1.15rem; color: #1c1e22; }
.cvs-tx p { margin: 0; color: #5d636b; }
.cvs-card .btn { flex: none; white-space: nowrap; }
.cvs-card .btn i { margin-left: 6px; font-size: .8em; }
.cvs-exit { margin-top: 6px; }
@media (max-width: 760px) {
  .cvs-card { flex-wrap: wrap; gap: 14px 16px; padding: 20px; }
  .cvs-ic { width: 46px; height: 46px; font-size: 20px; }
  .cvs-tx { flex-basis: calc(100% - 62px); }
  .cvs-card .btn { width: 100%; justify-content: center; }
}
/* Builder mode switch + standard (step-by-step) builder */
.cvx-modebar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cvx-modeswitch { background: none; border: 0; padding: 0; color: var(--brand-700); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 700; }
.cvx-steps { display: none; list-style: none; margin: 0 auto 30px; padding: 0; max-width: 820px; }
.cvx-steps li { flex: 1; position: relative; text-align: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.cvx-steps li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.cvx-steps li:first-child::before { display: none; }
.cvx-steps li.done::before, .cvx-steps li.on::before { background: #63be6c; }
.cvx-steps .n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); }
.cvx-steps b { display: block; font-weight: 600; }
.cvx-steps li.done .n { border-color: #63be6c; color: #3c9446; }
.cvx-steps li.done b { color: #3c9446; }
.cvx-steps li.on .n { background: #63be6c; border-color: #63be6c; color: #fff; }
.cvx-steps li.on b { color: var(--ink); font-weight: 800; }
.cvx-back, .cvx-next, .cvx-savep { display: none !important; }
.mode-std .cvx-steps { display: flex; }
body:has(.cvb-section:not(.is-start)) .wa-float { bottom: 86px; }
body:has(.cvb-section:not(.is-start)) .to-top { bottom: 150px; }
.mode-std .cvx-modebar { max-width: 860px; margin-left: auto; margin-right: auto; }
.mode-std .cvx { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.mode-std.step-edit .cvx-preview, .mode-std.step-save .cvx-preview { display: none; }
.mode-std.step-tpl .cvx-edit { display: none; }
.mode-std.step-tpl .cvx-preview { position: static; }
.mode-std.step-tpl .cvx-stage { max-height: none; }
.mode-std.step-save .cvx-head, .mode-std.step-save #cvEditor { display: none; }
.mode-std.step-save .cvx-savep { display: block !important; margin-bottom: 18px; }
.mode-std.step-edit .cvx-next, .mode-std.step-tpl .cvx-next, .mode-std.step-tpl .cvx-back, .mode-std.step-save .cvx-back { display: inline-flex !important; }
.mode-std.step-edit #cvPrint, .mode-std.step-edit #cvSubmit, .mode-std.step-tpl #cvSubmit { display: none; }
.mode-std #cvAddSec { display: none; }
.std-pi .cvb-sec[data-id="personal"] > summary { display: none; }
.std-pi .cvb-sec[data-id="personal"] > .inner { padding-top: 22px; }
.cvx-stdhead h3 { margin: 0 0 4px; font-size: 22px; }
.cvx-stdhead p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.cvx-stdbtns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.cvx-pisum { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 14px; }
.cvx-pisum .ph { width: 92px; height: 110px; border-radius: 12px; background: #eef0f3; display: grid; place-items: center; overflow: hidden; color: #b5bbc2; font-size: 38px; }
.cvx-pisum .ph img { width: 100%; height: 100%; object-fit: cover; }
.cvx-pisum h3 { margin: 0; font-size: 22px; }
.cvx-pisum .hl { margin: 2px 0 0; color: var(--brand-700); font-weight: 700; }
.cvx-pisum ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 14px; }
.cvx-pisum li { display: flex; gap: 9px; min-width: 0; word-break: break-word; }
.cvx-pisum li i { color: #3c9446; width: 16px; margin-top: 3px; flex: none; text-align: center; }
.cvx-pisum li small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cvx-pisum .ab { margin: 12px 0 0; color: #4b5058; font-size: 14px; white-space: pre-line; }
.cvx-stdhint { color: var(--muted); text-align: center; margin: 18px 0 10px; }
.cvx-addbig { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 20px; margin-top: 8px; background: #f6f8f9; border: 2px dashed #9fd4a5; border-radius: 14px; color: #2f7a38; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s; }
.cvx-addbig:hover { background: #e9f6ea; border-color: #63be6c; }
@media (max-width: 760px) {
  .cvx-pisum { grid-template-columns: 64px 1fr; padding: 16px; gap: 14px; }
  .cvx-pisum .ph { width: 64px; height: 76px; font-size: 26px; }
  .cvx-pisum .btn { grid-column: 1 / -1; justify-content: center; }
  .cvx-pisum ul { grid-template-columns: 1fr; }
}
.cvx-savep h2 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.02em; }
.cvx-savep > p { color: var(--muted); margin: 0 0 18px; }
.cvx-savegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cvx-saveopt { display: grid; justify-items: start; gap: 2px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.cvx-saveopt:hover { border-color: #63be6c; box-shadow: 0 8px 22px rgba(28,30,34,.08); }
.cvx-saveopt i { font-size: 24px; color: #3c9446; margin-bottom: 8px; }
.cvx-saveopt span { color: var(--muted); font-size: 13px; }
.cvx-modedlg { width: min(640px, calc(100vw - 32px)); position: relative; }
.cvx-modedlg p { color: var(--muted); margin: -6px 0 18px; }
.cvx-dlg-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f3f5; cursor: pointer; color: var(--ink); }
.cvx-modedlg .cvx-dlg-btns .btn { white-space: normal; text-align: center; }
.cvx-modeart { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; background: #eef0f3; border-radius: 14px; padding: 14px; margin-bottom: 18px; }
.cvx-modeart > div { background: #fff; border-radius: 10px; padding: 12px; display: grid; gap: 7px; align-content: start; }
.cvx-modeart i { display: block; height: 8px; border-radius: 4px; background: #dde1e6; }
.cvx-modeart i.s { width: 60%; }
.cvx-modeart .a-ed i { height: 22px; border: 1px solid #e3e6ea; background: #f8f9fa; }
.cvx-modeart .a-ed i.s { height: 8px; border: 0; background: #63be6c; width: 40%; }
.cvx-modeart .a-h { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 2px solid #63be6c; margin-bottom: 4px; }
.cvx-modeart .a-h em { width: 34px; height: 34px; border-radius: 50%; background: #cfe9d2; flex: none; }
.cvx-modeart .a-h span { flex: 1; display: grid; gap: 6px; }
.cvx-modeart .a-h span i:first-child { height: 10px; background: #1c1e22; width: 70%; }
@media (max-width: 760px) {
  .cvx-steps b { font-size: 12px; }
  .cvx-steps .n { width: 32px; height: 32px; }
  .cvx-steps li::before { top: 15px; }
  .cvx-savegrid, .cvx-modedlg .cvx-dlg-btns { grid-template-columns: 1fr; }
  .cvx-modeart { display: none; }
}
/* European Classic — labels in a right-aligned left column, content on the right */
.cv-paper.tpl-europe { padding: 38px 44px 44px 30px; font-family: Arial, "Helvetica Neue", sans-serif; color: #3f3a39; }
.tpl-europe .eu-row { display: grid; grid-template-columns: 29% 1fr; gap: 0 20px; margin-bottom: .55em; break-inside: avoid; }
.tpl-europe .eu-l { text-align: right; color: var(--cv-a); font-size: .86em; padding-top: .2em; }
.tpl-europe .eu-lab { text-transform: uppercase; letter-spacing: .03em; font-size: .92em; }
.tpl-europe .eu-top { margin-bottom: 1.2em; }
.tpl-europe .eu-top .eu-l { text-align: left; }
.tpl-europe .cv-logo { position: static; height: 32px; }
.tpl-europe h1 { font-weight: 400; font-size: 1.95em; color: var(--cv-d); margin-bottom: .35em; }
.tpl-europe .eu-personal .cv-photo { display: block; margin: 12px 0 0 auto; width: 96px; height: 116px; border-radius: 0; }
.tpl-europe .eu-ci { margin-bottom: .25em; }
.tpl-europe .eu-ci i { color: var(--cv-a); width: 1.3em; margin-right: 8px; text-align: center; }
.tpl-europe .eu-facts { margin-top: .5em; display: flex; flex-wrap: wrap; gap: 2px 0; }
.tpl-europe .eu-facts span { padding-right: 10px; margin-right: 10px; border-right: 1px solid #c9ced4; }
.tpl-europe .eu-facts span:last-child { border-right: 0; }
.tpl-europe .eu-facts b { color: var(--cv-a); font-weight: 400; font-size: .9em; margin-right: 4px; }
.tpl-europe .eu-headrow { margin-top: 1.1em; }
.tpl-europe .eu-job { margin: 0; font-size: 1.25em; color: var(--cv-d); text-transform: uppercase; letter-spacing: .02em; }
.tpl-europe .eu-sec { margin-top: 1.3em; }
.tpl-europe .eu-h { margin-bottom: .8em; align-items: center; }
.tpl-europe .eu-h .eu-l { padding-top: 0; }
.tpl-europe .eu-h .eu-r { height: 1px; background: var(--cv-a); }
.tpl-europe .eu-item h3 { font-size: 1.12em; font-weight: 400; color: var(--cv-d); margin: 0; }
.tpl-europe .eu-eqf { float: right; color: var(--cv-a); font-size: .78em; margin-left: 12px; padding-top: .25em; }
.tpl-europe .eu-org { margin: .1em 0 .2em; }
.tpl-europe ul.cv-desc { list-style: square; padding-left: 1.3em; }
.tpl-europe ul.cv-desc li::marker { color: var(--cv-a); }
.tpl-europe .eu-sector { margin: .4em 0 0; }
.tpl-europe .eu-sector b { color: var(--cv-a); font-weight: 400; margin-right: 6px; }
.tpl-europe .eu-strong { margin: 0; color: var(--cv-d); }
.tpl-europe .cv-skill { margin: 0; }
.tpl-europe .cv-cefr { margin-top: 0; }
.tpl-europe .cv-cefr thead th { background: #fff; color: var(--cv-a); font-weight: 400; text-transform: uppercase; }
.tpl-europe .cv-cefr thead tr + tr th { text-transform: none; font-size: .78em; }
.tpl-europe .cv-cefr tbody th { background: var(--cv-s); font-weight: 400; }
.tpl-europe .cv-cefr td { color: var(--cv-d); font-weight: 400; }
.tpl-europe .cv-cefr .eu-cert td { text-align: center; font-size: .86em; color: #5a5f66; background: #fafbfc; }

@media (max-width: 1100px) {
  .cvx { grid-template-columns: minmax(0, 1fr); }
  .cvx-preview { position: static; }
  .cvx-stage { max-height: none; min-height: 0; }
}
@media (max-width: 1024px) {
  .jobs-layout, .job-detail { grid-template-columns: 1fr; }
  .aside-card, .summary-card { position: static; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .thumb { min-height: 240px; }
  .home-jobs .job-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .search-pill { flex-direction: column; align-items: stretch; padding: 6px; }
  .search-pill .search-loc::before { left: 12px; right: 12px; top: 0; bottom: auto; border-left: 0; border-top: 1px solid var(--line); }
  .search-pill .btn { margin-top: 6px; justify-content: center; }
  .filter-row { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 46px 1fr; padding: 20px; gap: 14px; }
  .job-card .jico { width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
  .job-card .side { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured .body { padding: 26px; }
  .article-cover { margin-top: -120px; border-radius: 16px; }
  .cvx-stage { padding: 6px; }
  .cvx-grid, .cvx-phone { grid-template-columns: 1fr; }
  .cvx-cefr .h { display: none; }
  .cvx-cefr .g { grid-template-columns: 1fr 1fr; }
  .cvx-opts { grid-template-columns: 1fr 1fr; }
  .cvx-sectools { flex-direction: column; }
  .cvx-bar .container { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .cvx-bar .btn { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 11px 10px; font-size: 13.5px; gap: 0; }
  .cvx-bar .btn:not(#cvClear) i { display: none; }
  body:has(.cvx-bar) .wa-float { bottom: 86px; }
  body:has(.cvx-bar) .to-top { bottom: 150px; }
  .cvx-bar #cvClear { flex: none; font-size: 0; gap: 0; padding: 11px 13px; }
  .cvx-bar #cvClear i { font-size: 15px; }
  .cvx-saved { display: none; }
}

/* Print: the CV Builder prints only the CV paper (Save as PDF). @page margins are injected by cv-builder.js */
@media print {
  body.cv-printing > *:not(main), body.cv-printing main > *:not(.cvb-section), body.cv-printing .cvx-dlg { display: none !important; }
  body.cv-printing .cvb-section { padding: 0 !important; background: #fff !important; }
  body.cv-printing .cvb-section > .container { max-width: none; padding: 0; }
  body.cv-printing .cvx { display: block; }
  body.cv-printing .cvx-edit, body.cv-printing .cvx-custom, body.cv-printing .cvx-custom-t, body.cv-printing .cvb-job, body.cv-printing .cvx-bar { display: none !important; }
  body.cv-printing .cvx-preview { position: static; }
  body.cv-printing .cvx-stage { max-height: none; min-height: 0; overflow: visible; padding: 0; background: none; border-radius: 0; }
  body.cv-printing .cv-paper { zoom: 1 !important; width: auto; min-height: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.cv-printing .cv-paper.tpl-classic, body.cv-printing .cv-paper.tpl-timeline, body.cv-printing .cv-paper.tpl-minimal, body.cv-printing .cv-paper.tpl-europe { padding-top: 0; padding-bottom: 0; }
  body.cv-printing .cv-paper.tpl-timeline .cv-head { margin-top: 0; }
  body.cv-printing .cv-paper.tpl-sidebar { min-height: 297mm; }
  body.cv-printing .cv-sec h2 { break-after: avoid; }
  body.cv-printing .wa-float, body.cv-printing .to-top { display: none !important; }
}

/* ==========================================================
   Candidate accounts — header button, sign up / sign in, dashboard
   ========================================================== */
.header-account { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; transition: all .2s; max-width: 170px; }
.header-account span { overflow: hidden; text-overflow: ellipsis; }
.header-account i { color: var(--brand-700); }
.header-account:hover { border-color: var(--brand); color: var(--brand-700); }
.header-account.signed-in { background: var(--brand-50); border-color: var(--brand-100); }
@media (max-width: 1024px) {
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 10px; }
}
@media (max-width: 480px) {
  .header-account { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header-account span { display: none; }
}

.muted { color: var(--muted); }
.small { font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.auth-section { padding: 70px 0 100px; background: radial-gradient(900px 420px at 90% -10%, var(--brand-50), transparent 60%), var(--bg-soft); }
.auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 44px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 8px; }
.auth-form { margin-top: 22px; }
.auth-form > .form-alert:first-of-type { margin: 0 0 16px; }
.auth-row { display: flex; justify-content: flex-end; margin: -4px 0 18px; font-size: 14px; font-weight: 600; }
.auth-done { text-align: center; }
.auth-done .big-ico { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 20px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 36px; }
.auth-aside { background: var(--ink); color: rgba(255,255,255,.75); border-radius: 26px; padding: 44px; position: sticky; top: 110px; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -150px; top: -170px; background: radial-gradient(circle, rgba(99,190,108,.4), transparent 65%); }
.auth-aside > * { position: relative; }
.auth-aside h2 { color: #fff; font-size: 30px; }
.auth-benefits { display: grid; gap: 20px; margin: 26px 0; }
.auth-benefits li { display: flex; gap: 16px; }
.auth-benefits li > i { flex: none; width: 46px; height: 46px; border-radius: 13px; background: rgba(99,190,108,.15); color: var(--brand); display: grid; place-items: center; font-size: 18px; }
.auth-benefits b { color: #fff; display: block; font-size: 16px; }
.auth-benefits span { font-size: 14px; line-height: 1.55; }
.auth-free { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 0; font-size: 14px; }
.auth-free i { color: var(--brand); margin-right: 6px; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 50px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-toggle:hover { color: var(--ink); background: var(--line); }
.pw-meter { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.pw-meter i { width: 34px; height: 5px; border-radius: 5px; background: var(--line); transition: background .2s; }
.pw-meter span { margin-left: 6px; }
.pw-meter[data-score="1"] i:nth-child(1) { background: #e57373; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #f0ad4e; }
.pw-meter[data-score="3"] i { background: var(--brand); }

/* dashboard */
.acc-hero { padding: 70px 0 60px; }
.acc-hero p { font-size: 16px; }
.acc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.acc-nav { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: grid; gap: 4px; }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.acc-nav i { width: 18px; text-align: center; color: var(--muted); }
.acc-nav a:hover, .acc-nav button:hover { background: var(--bg-soft); }
.acc-nav a.active { background: var(--brand-50); color: var(--brand-700); }
.acc-nav a.active i { color: var(--brand-700); }
.acc-nav button { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; color: #b3412f; }
.acc-nav button i { color: #b3412f; }
#accountApp:not(.ready) .acc-tab { display: none; }
#accountApp.ready .acc-loading { display: none; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; margin-bottom: 22px; }
.acc-card h3 { font-size: 20px; }
.acc-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.acc-card-head h3 { margin: 0; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.acc-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.acc-stats span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.acc-stats b { display: block; font-size: 32px; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.acc-stats b.small { font-size: 16px; margin-top: 12px; }
.acc-stats .bar { height: 6px; background: var(--line); border-radius: 6px; margin-top: 10px; overflow: hidden; }
.acc-stats .bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 6px; transition: width .6s ease; }
.acc-todo { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); margin-top: 12px; transition: all .2s; }
.acc-todo:hover { border-color: var(--brand); background: var(--brand-50); }
.acc-todo .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.acc-todo b { display: block; color: var(--ink); }
.acc-todo small { color: var(--muted); font-size: 14px; }
.acc-todo > i { margin-left: auto; color: var(--brand-700); }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.app-row:last-child { border-bottom: 0; }
.app-main b { color: var(--ink); display: block; }
.app-main b a:hover { color: var(--brand-700); }
.app-main small { color: var(--muted); font-size: 13px; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill-received { background: #eef2f7; color: #3b4a5e; }
.pill-review { background: #fff4e0; color: #8a5a00; }
.pill-successful { background: var(--brand-50); color: var(--brand-700); }
.pill-closed { background: #f3f3f4; color: #75787f; }
.welcome-banner { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--brand-50); color: var(--ink); margin-bottom: 22px; border: 1px solid var(--brand-100); }
.welcome-banner > i { color: var(--brand-700); font-size: 22px; }
.link-note { font-size: 14px; color: var(--muted); }
.link-note i { color: var(--brand-700); margin-right: 6px; }
.cv-current { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; background: var(--brand-50); margin-bottom: 20px; }
.cv-current > i { font-size: 30px; color: var(--brand-700); }
.cv-current.empty { background: var(--bg-soft); }
.cv-current.empty > i { color: var(--muted); }
.cv-current b { display: block; color: var(--ink); }
.cv-current small { color: var(--muted); }
.acc-cta { display: flex; align-items: center; gap: 18px; }
.acc-cta > i { font-size: 30px; color: var(--brand); }
.acc-cta b { display: block; color: var(--ink); }
.acc-cta span { font-size: 14px; color: var(--muted); }
.acc-cta .btn { margin-left: auto; flex: none; }

/* one-click apply on job.html */
.quick-apply { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 20px; padding: 26px; margin-bottom: 24px; }
.quick-apply h3 { font-size: 20px; margin-bottom: 6px; }
.quick-apply .who { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-size: 14px; }
.quick-apply .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quick-apply .who b { display: block; color: var(--ink); font-size: 15px; }
.quick-apply textarea { min-height: 90px; }
.quick-apply .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.signin-hint { font-size: 14px; color: var(--muted); margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: var(--bg-soft); }
.signin-hint a { font-weight: 700; color: var(--brand-700); }

@media (max-width: 1024px) {
  .auth-grid, .acc-grid { grid-template-columns: 1fr; }
  .auth-aside, .acc-nav { position: static; }
  .acc-nav { grid-template-columns: repeat(3, 1fr); }
  .acc-nav button { border-top: 0; border-radius: 12px; margin: 0; }
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .auth-card, .auth-aside { padding: 28px 22px; border-radius: 22px; }
  .acc-nav { grid-template-columns: repeat(2, 1fr); }
  .acc-card { padding: 22px; }
  .app-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .acc-cta { flex-direction: column; align-items: flex-start; }
  .acc-cta .btn { margin-left: 0; }
}

/* header with the candidate account button: never squeeze the logo; drop the phone earlier */
.logo { flex: none; }
.header-cta { flex: none; }
@media (max-width: 1600px) { .header-phone { display: none; } }
@media (max-width: 1280px) { .header-cta .btn { display: none; } }

/* ==========================================================
   Mobile number + SMS code sign-in, membership
   ========================================================== */
.auth-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: st; }
.auth-steps li { flex: 1; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-top: 10px; border-top: 4px solid var(--line); counter-increment: st; }
.auth-steps li::before { content: counter(st) ". "; }
.auth-steps li.on { color: var(--brand-700); border-color: var(--brand); }
.phone-input { display: flex; gap: 10px; }
.phone-input select { flex: 0 0 auto; width: 44%; max-width: 230px; }
.phone-input input { flex: 1; min-width: 0; font-size: 17px; letter-spacing: .02em; }
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.otp-input { font-size: 30px !important; letter-spacing: .5em; text-align: center; font-weight: 800; padding: 16px !important; font-variant-numeric: tabular-nums; }
.auth-row.center { justify-content: center; margin: 16px 0 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--brand-700); cursor: pointer; }
.link-btn:disabled { color: var(--muted); cursor: default; }

.membership-banner { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: #fff7e8; border: 1px solid #f6dfb2; margin-bottom: 22px; }
.membership-banner > i { font-size: 24px; color: #b7791f; }
.membership-banner b { display: block; color: var(--ink); }
.membership-banner span { font-size: 14px; color: var(--muted); }
.membership-banner .btn { margin-left: auto; flex: none; }
.mem-price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 16px; }
.mem-price b { font-size: 40px; color: var(--ink); letter-spacing: -.02em; }
.mem-price span { color: var(--muted); font-size: 14px; }
.mem-status { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; margin-bottom: 16px; }
.mem-status.ok { background: var(--brand-50); }
.mem-status > i { font-size: 30px; color: var(--brand-700); }
.mem-status b { display: block; color: var(--ink); font-size: 17px; }
.mem-status span { color: var(--muted); font-size: 14px; }
.mem-offline { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--bg-soft); margin: 16px 0; }
.mem-offline > i { font-size: 22px; color: var(--brand-700); margin-top: 3px; }
.mem-offline b { display: block; color: var(--ink); }
.mem-offline span { font-size: 14px; color: var(--muted); }
#tab-membership .tick-list { margin: 0 0 22px; }
@media (max-width: 760px) {
  .membership-banner { flex-direction: column; align-items: flex-start; }
  .membership-banner .btn { margin-left: 0; }
  .phone-input select { width: 42%; }
}

/* CEO card: no sticky when stacked in one column (it covered the message text) */
@media (max-width: 1024px) { .ceo .ceo-card { position: static !important; } }

/* full Industries page: 16 cards -> even 4 x 4 grid on desktop */
@media (min-width: 1181px) { .industries.all { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Stats strip (Home + About): icon · number · RED LABEL · green tail ---------- */
:root { --stat-red: #e2231a; }
.stat-strip-wrap { padding: 46px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.stat { display: flex; align-items: center; gap: 16px; justify-content: center; }
.stat > i { font-size: 58px; color: var(--brand-700); flex: none; line-height: 1; }
.stat b { display: block; font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat .lbl { display: block; color: var(--stat-red); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; margin-top: 6px; line-height: 1.2; }
.stat .tail { display: block; color: var(--brand-700); font-weight: 700; font-size: 13px; line-height: 1.3; }
@media (max-width: 1024px) { .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } .stat { justify-content: flex-start; } }
@media (max-width: 480px) { .stat > i { font-size: 42px; } .stat b { font-size: 30px; } .stat .lbl { font-size: 12px; } .stat-strip { gap: 20px; } }

/* ---------- Certificates (Home + About) ---------- */
.cert-scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 16px; list-style: none; padding: 0; font-weight: 600; color: var(--ink); font-size: 14px; }
.cert-scope i { color: var(--brand-700); margin-right: 6px; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-img { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f4f4f4; }
.cert-img img { display: block; width: 100%; height: auto; aspect-ratio: 398 / 562; object-fit: cover; }
.cert-img .zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; opacity: 0; transform: scale(.8); transition: all .25s; }
.cert-img:hover .zoom, .cert-img:focus-visible .zoom { opacity: 1; transform: none; }
.cert figcaption { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 4px; }
.cert figcaption b { font-size: 18px; color: var(--ink); }
.cert figcaption span { font-size: 14px; color: var(--text); line-height: 1.4; }
.cert figcaption small { font-size: 12px; color: var(--muted); }
@media (max-width: 1024px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .certs { gap: 14px; } .cert { padding: 10px; } .cert figcaption b { font-size: 15px; } .cert figcaption span { font-size: 12.5px; } }
a.licence { color: inherit; }

/* ---------- Chips, grouped clients, service numbers ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--brand-50); color: var(--ink); font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.chip i { color: var(--brand-700); }
a.chip:hover { border-color: var(--brand); }
.chip img { border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.chip b { color: var(--brand-700); }
.client-group { margin-top: 50px; scroll-margin-top: 110px; }
.client-group h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; margin-bottom: 20px; }
.client-group h3 img { border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.client-group h3 span { font-size: 13px; font-weight: 700; background: var(--brand-50); color: var(--brand-700); padding: 4px 10px; border-radius: 999px; }
.client-grid .logo-tile img { max-width: 100%; }
.card .svc-n { position: absolute; top: 18px; right: 22px; font-size: 30px; font-weight: 800; color: var(--brand-50); }
.card { position: relative; }
.doc-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
@media (max-width: 760px) { .doc-list.two-col { grid-template-columns: 1fr; } }
