/* ==========================================================================
   FDE.si — global stylesheet
   Light corporate theme. Every color, radius and shadow is a token on :root.
   ========================================================================== */

:root {
  --brand: #1f4fd8;
  --brand-ink: #163aa6;
  --brand-soft: #edf2ff;
  --brand-line: #d6e0ff;
  --accent: #0f8f7e;
  --accent-soft: #e7f5f2;
  --warn: #9a6200;
  --warn-soft: #fdf4e3;
  --danger: #c4320a;

  --ink: #0b1424;
  --text: #2f3a4d;
  --muted: #667085;
  --line: #e5e8ee;
  --line-strong: #d0d5dd;
  --bg: #ffffff;
  --paper: #f6f7f9;
  --paper-2: #eef1f5;
  --footer: #0b1424;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 36, .05);
  --shadow: 0 8px 28px rgba(11, 20, 36, .08);
  --shadow-lg: 0 24px 60px rgba(11, 20, 36, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1240px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.18rem; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 112px 0; }
.section-sm { padding: 64px 0; }
.section.alt { background: var(--paper); }
@media (max-width: 767px) { .section { padding: 72px 0; } }

/* Section heading: label + title on the left, intro on the right */
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-head.split-head { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section-head.split-head p { margin: 0; }
@media (max-width: 900px) { .section-head.split-head { grid-template-columns: 1fr; gap: 8px; } }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hl { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-line); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2740; color: #fff; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow:hover { color: var(--brand); border-color: var(--brand); }
.arrow { display: inline-block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .96); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .25s var(--ease); }
.site-header.scrolled .nav { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.site-header .logo { margin-right: auto; }
.site-header .logo img { display: block; width: 240px; max-width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-drop {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: .94rem; background: none; border: 0;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links button.nav-drop:hover { color: var(--ink); background: var(--paper); }
.nav-links a.active { color: var(--brand); }
.nav-links .chev { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease);
}
.nav-links li:hover > .dropdown, .nav-links li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links li:hover .chev { transform: rotate(180deg); }
.dropdown a { display: flex; justify-content: space-between; width: 100%; }
.dropdown-label { display: block; margin: 8px 0 0; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; background: var(--warn-soft); color: var(--warn);
}
.tag.ai { background: var(--accent-soft); color: var(--accent); }
.tag.here { background: var(--brand-soft); color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1199px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-links.open .chev { display: none; }
}
@media (max-width: 480px) { .nav-cta .btn-primary { padding: 10px 14px; font-size: .85rem; } }

/* ---------- Media (images with a labelled placeholder until the file exists) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); margin: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img { display: none; }
.media.is-missing {
  background:
    repeating-linear-gradient(135deg, rgba(31, 79, 216, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--brand-soft), var(--paper-2));
}
.media.is-missing::after {
  content: attr(data-label); position: absolute; inset: auto 16px 16px 16px;
  font: 500 .78rem/1.4 var(--font); color: var(--muted); background: rgba(255, 255, 255, .85);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px;
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
@media (max-width: 1023px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.hero-kicker b { color: var(--ink); font-weight: 600; }
.hero-kicker .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-search {
  display: flex; gap: 8px; padding: 8px; max-width: 580px; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow);
}
.hero-search label { flex: 1; position: relative; min-width: 0; }
.hero-search small { position: absolute; left: 14px; top: 8px; font-size: .72rem; color: var(--muted); font-weight: 500; }
.hero-search select {
  width: 100%; height: 100%; min-height: 56px; border: 0; background: transparent; font: inherit;
  font-weight: 600; color: var(--ink); padding: 22px 34px 6px 13px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.hero-search select:focus { outline: 0; }
.hero-search:focus-within { border-color: var(--brand); }
@media (max-width: 560px) { .hero-search { flex-direction: column; } }
.hero-alt { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-media .media { aspect-ratio: 4 / 4.4; border-radius: 20px; }
@media (max-width: 1023px) { .hero-media .media { aspect-ratio: 4 / 3; } }
.hero-note {
  position: absolute; left: -28px; bottom: 40px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 16px 20px; min-width: 240px;
}
.hero-note small { display: block; color: var(--muted); font-size: .8rem; }
.hero-note b { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.hero-note .bar { height: 4px; border-radius: 4px; background: var(--paper-2); margin-top: 10px; overflow: hidden; }
.hero-note .bar span { display: block; height: 100%; width: 82%; background: var(--accent); }
@media (max-width: 1023px) { .hero-note { left: 16px; bottom: 16px; } }
.hero-media .media.is-missing::after { inset: 16px 16px auto 16px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 88px; }
.fact { padding: 32px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1.05; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 767px) {
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .fact { padding: 24px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats (inner pages) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids & 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); }
@media (max-width: 1023px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-strong); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.icon.teal { background: var(--accent-soft); color: var(--accent); }

/* Numbered feature list (editorial, used for "why us") */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; counter-reset: feat; list-style: none; padding: 0; margin: 0; }
.feature-list li { counter-increment: feat; display: grid; grid-template-columns: 56px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.feature-list li::before { content: counter(feat, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: var(--brand); font-size: .95rem; padding-top: 3px; }
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { color: var(--muted); margin: 0; }
@media (max-width: 767px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Check marks (single owner for every check icon) ---------- */
.check { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent-soft); position: relative; display: inline-block; }
.check::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.list-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; }
.list-check li .check { margin-top: 3px; }

/* ---------- Talent cards ---------- */
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1023px) { .talent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .talent-grid { grid-template-columns: 1fr; } }
.talent-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.talent-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.tc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.avatar {
  width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 1.05rem; position: relative; overflow: visible;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar.lg { width: 88px; height: 88px; font-size: 1.6rem; }
.avatar .verified { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); }
.avatar .verified svg { width: 18px; height: 18px; }
.tc-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
.tc-role { color: var(--muted); font-size: .88rem; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.tc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tc-meta svg { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { font-size: .78rem; font-weight: 500; padding: 5px 10px; border-radius: 6px; background: var(--paper); color: var(--text); border: 1px solid var(--line); }
.chip.more { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.tc-bio { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; }
.tc-foot { margin-top: auto; display: flex; gap: 10px; }
.tc-foot .btn { flex: 1; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #127a3a; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a45d; }
.avail.soon { color: var(--warn); }
.avail.soon::before { background: #e3a008; }

/* ---------- Talent directory ---------- */
.directory { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 1023px) { .directory { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
@media (max-width: 1023px) { .filters { position: static; } }
.filters h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { font: inherit; font-size: .82rem; color: var(--brand); background: none; border: 0; cursor: pointer; font-weight: 600; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0 6px; }
.filter-group > .fg-title { display: block; font-weight: 600; color: var(--ink); font-size: .88rem; margin-bottom: 10px; }
.filter-group .opt { display: flex; align-items: center; gap: 10px; font-size: .9rem; margin-bottom: 8px; cursor: pointer; }
.filter-group input[type=checkbox], .filter-group input[type=radio] { width: 16px; height: 16px; accent-color: var(--brand); }
.dir-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dir-bar + .count { color: var(--muted); font-size: .95rem; }
.count b { color: var(--ink); }
.search { position: relative; flex: 1; min-width: 220px; max-width: 460px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { padding-left: 42px !important; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }

/* ---------- Forms ---------- */
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.input { min-height: 120px; resize: vertical; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .15s; background: #fff; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .form-card { padding: 22px; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.check-lg { display: block; width: 64px; height: 64px; margin: 0 auto 18px; }
.check-lg::after { left: 24px; top: 15px; width: 14px; height: 26px; border-width: 0 4px 4px 0; }
.error-msg { color: var(--danger); font-size: .82rem; margin-top: 4px; display: none; }
.field.invalid .input { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }
.steps-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.steps-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); transition: background .3s; }
.steps-progress span.on { background: var(--brand); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .3s var(--ease); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Role rows (home) & role chips ---------- */
.role-rows { border-top: 1px solid var(--line); }
.role-row {
  display: grid; grid-template-columns: 64px 1.4fr 1fr 140px 40px; align-items: center; gap: 16px;
  padding: 24px 8px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .2s, padding .3s var(--ease);
}
.role-row:hover { background: var(--paper); padding-left: 20px; color: var(--ink); }
.role-row .num { font-family: var(--font-display); color: var(--muted); font-size: .9rem; }
.role-row .name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.role-row .desc { color: var(--muted); font-size: .92rem; }
.role-row .price { font-weight: 600; font-size: .92rem; text-align: right; }
.role-row .go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.role-row:hover .go { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 900px) {
  .role-row { grid-template-columns: 40px 1fr 36px; }
  .role-row .desc, .role-row .price { display: none; }
}
.roles-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1023px) { .roles-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .roles-list { grid-template-columns: 1fr; } }

/* ---------- Steps (inner pages) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 0 0; border-top: 2px solid var(--ink); }
.step .num { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.step .label { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Sticky scroll steps (home) ---------- */
.sticky-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sticky-media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 4.2; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.sticky-media .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.sticky-media .media.active { opacity: 1; transform: none; }
.sticky-media .step-badge { position: absolute; left: 20px; top: 20px; z-index: 2; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0 32px 32px; border-left: 2px solid var(--line); position: relative; transition: border-color .4s; }
.step-item::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--brand); transition: height .6s var(--ease); }
.step-item.active::before { height: 100%; }
.step-item .num { font-family: var(--font-display); color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 12px; transition: color .3s; }
.step-item h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--muted); transition: color .3s; }
.step-item p { color: var(--muted); max-width: 440px; opacity: .6; transition: opacity .3s; }
.step-item.active .num { color: var(--brand); }
.step-item.active h3 { color: var(--ink); }
.step-item.active p { opacity: 1; }
.step-item .step-img { display: none; }
@media (max-width: 900px) {
  .sticky-steps { grid-template-columns: 1fr; gap: 0; }
  .sticky-media { display: none; }
  .step-item { min-height: 0; padding: 0 0 48px 24px; }
  .step-item h3 { color: var(--ink); }
  .step-item p { opacity: 1; }
  .step-item .step-img { display: block; margin-bottom: 20px; aspect-ratio: 16 / 10; }
}

/* ---------- Skills ---------- */
.skill-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.skill-tab { font: inherit; font-weight: 500; font-size: .9rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.skill-tab.active, .skill-tab:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-cloud .chip { font-size: .92rem; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skill-cloud .chip[hidden] { display: none; }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }

/* ---------- Industry cards ---------- */
.industry { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 340px; isolation: isolate; }
.industry .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.industry .media img { transition: transform 1.2s var(--ease); }
.industry:hover .media img { transform: scale(1.05); }
.industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 36, 0) 30%, rgba(11, 20, 36, .82)); }
.industry .body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.industry h3 { color: #fff; margin-bottom: 6px; }
.industry p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .93rem; }
.industry .media.is-missing::after { inset: 16px 16px auto 16px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.compare thead th { background: var(--paper); color: var(--ink); font-weight: 600; font-size: .88rem; }
.compare thead th.us { background: var(--ink); color: #fff; }
.compare td.us { background: var(--brand-soft); font-weight: 600; color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes { color: #127a3a; font-weight: 600; }
.no { color: var(--muted); }

/* ---------- Testimonials ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); }
@media (max-width: 1023px) { .carousel-track > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel-track > * { flex-basis: 88%; } }
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.carousel-head .section-head { margin: 0; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: all .2s; }
.carousel-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel-nav svg { width: 18px; height: 18px; }
.quote { display: flex; flex-direction: column; padding: 32px; }
.quote blockquote { margin: 0 0 28px; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--brand); margin-bottom: 8px; }
.quote .who { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.quote .who .avatar { width: 44px; height: 44px; font-size: .88rem; background: var(--ink); }
.quote .who b { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; }
.quote .who small { color: var(--muted); }

.case { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.case .media { border-radius: 0; aspect-ratio: 16 / 10; }
.case .case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case .tag { align-self: flex-start; margin-bottom: 14px; background: var(--brand-soft); color: var(--brand); }
.case h3 { font-size: 1.12rem; }
.case .result { display: flex; gap: 28px; margin: 6px 0 16px; }
.case .result b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); letter-spacing: -.03em; }
.case .result small { color: var(--muted); font-size: .8rem; }

/* ---------- Guide with sticky table of contents ---------- */
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc p { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: .92rem; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-color: var(--brand); font-weight: 500; }
.guide .prose { max-width: 720px; }
.guide .prose h3 { font-size: 1.45rem; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } .faq-layout .section-head { position: static; } }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-layout .faq { max-width: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--muted); }
.faq .answer ul { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 24px; padding: 88px 56px; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.cta-band > .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; opacity: .45; }
.cta-band > .media.is-missing { opacity: .12; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 20, 36, .95) 30%, rgba(11, 20, 36, .4)); }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 0 32px; font-size: 1.08rem; }
.cta-band .center-actions { justify-content: flex-start; margin-top: 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--brand-soft); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }
@media (max-width: 640px) { .cta-band { padding: 56px 24px; } }

/* ---------- Inner page header ---------- */
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), #fff); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 860px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 700px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0 0 20px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* ---------- Role detail blocks ---------- */
.role-block { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.role-block:last-child { border-bottom: 0; }
.role-block h2 a { color: inherit; }
.role-block h2 a:hover { color: var(--brand); }
@media (max-width: 860px) { .role-block { grid-template-columns: 1fr; gap: 16px; } }
.role-block .meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }

/* ---------- About page ---------- */
.about-hero h1 { max-width: 940px; }
.about-hero .facts { margin-top: 48px; border-bottom: 0; }
.about-story { align-items: start; }
.about-mission { position: sticky; top: calc(var(--header-h) + 24px); }
.about-quote { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-bottom: 24px; }
.region-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.region-list li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.region-list b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.region-list span { color: var(--muted); }
@media (max-width: 900px) { .about-mission { position: static; } }

/* ---------- Phone field (intl-tel-input) ---------- */
.field .iti { display: block; width: 100%; }

/* ---------- Hire <role> landing pages ---------- */
.role-hero { position: relative; padding: 40px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.role-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 70%); }
.role-hero .container { position: relative; z-index: 1; }
.role-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding: 24px 0 8px; }
.role-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.role-hero .hero-lead { margin-bottom: 0; }
.role-hero .row-actions { margin-top: 32px; }
.hero-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }

.shortlist { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 20, 36, .10); padding: 8px; }
.shortlist::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: 20px; background: var(--brand-soft); border: 1px solid var(--brand-line); }
.sl-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px 14px; }
.sl-head small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.sl-head b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.sl-time { flex: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px; }
.sl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sl-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--paper); text-align: left; color: inherit; cursor: pointer; font: inherit; transition: background .2s; }
.sl-row:hover, .sl-row:focus-visible { background: var(--brand-soft); }
.sl-who { flex: 1; min-width: 0; display: grid; }
.sl-who .tc-name { font-size: .98rem; }
.sl-who .tc-role { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-row .avail { flex: none; }
.avatar.sm { width: 42px; height: 42px; font-size: .88rem; }
.avatar.sm .verified { width: 16px; height: 16px; }
.avatar.sm .verified svg { width: 14px; height: 14px; }
.sl-foot { padding: 14px 16px 12px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 8px; }
@media (max-width: 960px) {
  .role-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .shortlist { max-width: 520px; }
}
@media (max-width: 480px) { .sl-row .avail { display: none; } }

.role-facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.role-facts li { padding: 22px 24px 28px; border-left: 1px solid var(--line); }
.role-facts li:first-child { border-left: 0; padding-left: 0; }
.role-facts b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.role-facts span { color: var(--muted); font-size: .88rem; }
@media (max-width: 767px) {
  .role-facts { grid-template-columns: repeat(2, 1fr); }
  .role-facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .role-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.role-what, .role-when { align-items: start; }
.role-what p { color: var(--text); }
.related-role { display: flex; flex-direction: column; color: inherit; }
.related-role:hover { border-color: var(--brand); }
.related-role p { flex: 1; margin-bottom: 20px; }
.related-role .more { font-weight: 600; color: var(--brand); font-size: .92rem; }

/* ---------- Engineer profile page and anonymised names ---------- */
.name-hidden .blur { filter: blur(5px); user-select: none; }
.tc-who { flex: 1; min-width: 0; }
.li-link { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #0a66c2; background: #eaf2fb; transition: background .2s, color .2s; }
.li-link:hover { background: #0a66c2; color: #fff; }
.li-link svg { width: 18px; height: 18px; }
.li-link.li-lg { width: 44px; height: 44px; border-radius: 10px; }
.li-link.li-lg svg { width: 22px; height: 22px; }
.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.pf-head { display: flex; gap: 22px; align-items: center; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pf-who { flex: 1; min-width: 0; }
.pf-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 4px; }
.pf-title { color: var(--muted); margin: 0 0 10px; font-size: 1.05rem; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.pf-id { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pf-section { margin-top: 36px; }
.pf-section h2 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.pf-section p { color: var(--text); }
.pf-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.pf-cta h3 { margin-bottom: 8px; }
.pf-cta p { margin-bottom: 20px; font-size: .92rem; }
.pf-cta .btn + .btn { margin-top: 10px; }
.pf-similar h3 { font-size: 1rem; margin-bottom: 12px; }
.pf-similar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pf-similar .sl-row { color: inherit; }
.profile-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.profile-facts div { background: #fff; padding: 14px 16px; }
.profile-facts small { display: block; color: var(--muted); font-size: .76rem; }
.profile-facts b { color: var(--ink); font-size: .94rem; font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.timeline li { padding-left: 18px; border-left: 2px solid var(--brand-line); }
.timeline b { color: var(--ink); font-weight: 600; }
.timeline small { color: var(--muted); display: block; }
@media (max-width: 960px) { .pf-layout { grid-template-columns: 1fr; } .pf-side { position: static; } }
@media (max-width: 640px) {
  .profile-facts { grid-template-columns: repeat(2, 1fr); }
  .pf-head { flex-wrap: wrap; padding: 20px; gap: 16px; }
  .pf-head .li-link { margin-left: auto; }
  .pf-who { order: 3; flex-basis: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #a3acbf; padding: 80px 0 32px; }
.site-footer a { color: #a3acbf; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding-top: 24px; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }

/* ---------- WhatsApp / Telegram (icons defined once in partials/footer.html) ---------- */
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.social a svg { width: 20px; height: 20px; }
.site-footer .social-wa:hover { background: #25d366; }
.site-footer .social-tg:hover { background: #229ed9; }
.chat-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; justify-items: end; gap: 10px; }
.chat-btn { display: flex; align-items: center; gap: 0; height: 52px; padding: 0 14px; border-radius: 26px; color: #fff; box-shadow: 0 8px 24px rgba(11, 20, 36, .22); transition: transform .2s var(--ease), gap .25s var(--ease); }
.chat-btn svg { width: 24px; height: 24px; flex: none; }
.chat-btn span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .92rem; transition: max-width .25s var(--ease); }
.chat-btn:hover, .chat-btn:focus-visible { color: #fff; transform: translateY(-2px); gap: 8px; }
.chat-btn:hover span, .chat-btn:focus-visible span { max-width: 100px; }
.chat-btn.social-wa { background: #25d366; }
.chat-btn.social-tg { background: #229ed9; }
.contact-chat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.contact-chat a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; color: #fff; font-weight: 600; font-size: .9rem; }
.contact-chat a:hover { color: #fff; filter: brightness(.95); }
.contact-chat svg { width: 18px; height: 18px; }
.contact-chat .social-wa { background: #25d366; }
.contact-chat .social-tg { background: #229ed9; }
@media (max-width: 640px) { .chat-float { right: 14px; bottom: 14px; } .chat-btn { height: 48px; padding: 0 12px; } }
@media print { .chat-float { display: none; } }

/* ---------- Scroll effects ---------- */
/* Hidden states apply only once head.html marks the page with .js */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .media[data-reveal] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round 16px); transition: clip-path 1.1s var(--ease); }
.js .media[data-reveal].in { clip-path: inset(0 0 0 0 round 16px); }
[data-parallax] { will-change: transform; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.row-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .media[data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* Parallax images are oversized so their movement never exposes the frame edge */
.media img[data-parallax] { height: 112%; margin-top: -6%; }

/* ---------- Blog ---------- */
.post-meta { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.page-hero .post-meta { font-size: .92rem; margin-top: 20px; }
.post-card h3 { margin-bottom: 10px; }
.post-body > section { scroll-margin-top: 90px; }
.post-body > section + section { margin-top: 48px; }
.post-body ul { padding-left: 20px; display: grid; gap: 10px; }
.post-body .table-wrap { margin: 8px 0; }

/* ---------- Country pages ---------- */
.other-countries { margin: 0; text-align: center; color: var(--muted); }
.other-countries a { font-weight: 600; }
