/* =============================================================
   Fachkraft Ausland — Design System
   Colors pulled from brand assets (Logo-01.svg, brand pattern-01.svg)
   ============================================================= */

:root {
  /* Brand-spec colors from Fachkraft Ausland brand guide */
  --c-primary: #0447A5;       /* deep blue */
  --c-primary-600: #033880;
  --c-primary-50: #e6f0ff;
  --c-sky: #4CA4FA;           /* sky blue */
  --c-sky-50: #eaf4ff;
  --c-accent: #F49546;        /* support orange */
  --c-accent-600: #d97b2c;
  --c-success: #4BC53C;       /* support green */
  --c-success-600: #3aa42c;
  --c-dark: #021a3d;          /* deep navy for dark sections */
  --c-dark-700: #0a2754;
  --c-light: #F2F6FC;
  --c-white: #ffffff;
  --c-muted: #5b6680;
  --c-border: #dce4f0;

  --grad-brand: linear-gradient(135deg, #4CA4FA 0%, #0447A5 100%);
  --grad-warm: linear-gradient(135deg, #F49546 0%, #4BC53C 100%);
  --grad-hero: linear-gradient(135deg, #021a3d 0%, #033880 50%, #0447A5 100%);
  --grad-text: linear-gradient(120deg, #4CA4FA, #0447A5 60%, #021a3d);

  --shadow-sm: 0 2px 8px rgba(2, 26, 61, .06);
  --shadow-md: 0 10px 30px rgba(2, 26, 61, .1);
  --shadow-lg: 0 24px 60px rgba(2, 26, 61, .18);
  --shadow-primary: 0 18px 40px rgba(4, 71, 165, .28);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Plus Jakarta Sans + Inter for readable UI (best UX practice).
     Audiowide reserved for special display moments only — brand wordmark feel,
     hero pre-headlines — never for body text or general headings. */
  --ff-display: "Audiowide", "Plus Jakarta Sans", system-ui, sans-serif;
  --ff-heading: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --nav-h: 76px;

  /* Surface tokens (light mode only) */
  --c-bg: #ffffff;
  --c-bg-alt: #F2F6FC;
  --c-surface: #ffffff;
  --c-surface-2: #fafbff;
  --c-text: #021a3d;
  --c-text-soft: #5b6680;
  --c-border-soft: #e4ecf7;
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3, h4, h5 { color: var(--c-text); }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-dark);
}
.display, h1.display, h2.display {
  font-family: var(--ff-display);
  font-weight: 400; /* Audiowide is single-weight */
  letter-spacing: 0;
  line-height: 1.05;
}
h1 { font-size: clamp(2.2rem, 5vw + .5rem, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw + .5rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
p { color: #3a405a; }
.muted { color: var(--c-muted); }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 8px; top: 8px; padding: 8px 14px;
  background: var(--c-dark); color: #fff; border-radius: 8px;
  transform: translateY(-120%); z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* -------- buttons (rounded rect, high-contrast, every variant readable in its context) -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  font-family: var(--ff-heading); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; border: 2px solid transparent;
  cursor: pointer; user-select: none;
}
.btn-sm { padding: 10px 20px; font-size: .85rem; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* PRIMARY — solid brand-blue gradient, white text, high contrast everywhere */
.btn-primary,
.nav-list a.btn-primary,
a.btn-primary {
  background: var(--grad-brand);
  color: #fff !important;
  border-color: transparent;
  box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(4,71,165,.42), inset 0 1px 0 rgba(255,255,255,.25); }

/* WARM — orange→green support gradient, white text */
.btn-warm {
  background: var(--grad-warm);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(244,149,70,.32), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-warm:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(244,149,70,.45), inset 0 1px 0 rgba(255,255,255,.25); color: #fff !important; }

/* SECONDARY — solid white card on any background, dark text */
.btn-secondary {
  background: #fff; color: var(--c-dark) !important;
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c-primary); color: var(--c-primary) !important; }

/* OUTLINE — works on light backgrounds (transparent fill, dark border + dark text) */
.btn-outline {
  background: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary) !important;
}
.btn-outline:hover { background: var(--c-primary); color: #fff !important; transform: translateY(-2px); }

/* OUTLINE-LIGHT — for use on DARK backgrounds only. Solid translucent fill so text never disappears. */
.btn-outline-light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.55);
  color: #fff !important;
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover { background: #fff; color: var(--c-dark) !important; border-color: #fff; transform: translateY(-2px); }

/* GHOST — for use on DARK backgrounds only. Has a real translucent fill — never invisible. */
.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff !important;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); border-color: rgba(255,255,255,.4); }

/* -------- header / nav -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(1,17,43,.06);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; transition: opacity .2s; }
.brand:hover { opacity: .85; }
.brand img.brand-logo { height: 40px; width: auto; display: block; }
.brand img.brand-logo-sm { height: 32px; }
/* Theme toggle + language switcher pill */
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 8px; }
.nav-list a {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: .92rem; color: var(--c-text);
  transition: background .2s, color .2s;
}
.nav-list a:not(.btn):hover { color: var(--c-sky); background: var(--c-primary-50); }
.nav-list a[aria-current="page"] { color: var(--c-sky); background: var(--c-primary-50); }
.nav-cta a { padding: 10px 18px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav-bars, .nav-bars::before, .nav-bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px; background: var(--c-dark);
  transition: transform .3s ease, top .3s ease, opacity .2s;
}
.nav-bars { top: 50%; transform: translate(-50%, -50%); }
.nav-bars::before, .nav-bars::after { content: ""; transform: translateX(-50%); }
.nav-bars::before { top: -7px; }
.nav-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* -------- hero -------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: #fff;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 600px; background-repeat: repeat;
  opacity: .07; mix-blend-mode: screen;
  animation: drift 40s linear infinite;
}
.hero::after {
  content: ""; position: absolute; inset: auto -20% -40% auto;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(109,5,47,.4), transparent 60%);
  filter: blur(60px); z-index: -1;
}
@keyframes drift { to { background-position: 600px 0; } }

.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #d5d3ff; font-size: .82rem; font-weight: 500;
  backdrop-filter: blur(8px); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7bff8f; box-shadow: 0 0 12px #7bff8f; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 .grad {
  background: linear-gradient(120deg, #fff 0%, #b8b0ff 50%, #ff7fae 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.15rem; color: #c9ccdf; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .num { font-family: var(--ff-heading); font-size: 2rem; font-weight: 800; color: #fff; }
.hero-trust .lbl { font-size: .82rem; color: #a6aacb; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 30% 20%, #4CA4FA 0%, #0447A5 50%, #021a3d 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat;
  background-size: 300px; opacity: .12; mix-blend-mode: screen;
  border-radius: var(--radius-xl);
}
.hero-visual::after {
  content: ""; position: absolute; right: -40px; top: -30px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,149,70,.45), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero-visual .cutout {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.hero-visual .cutout img {
  height: 108%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(-30px 40px 50px rgba(1,17,43,.5));
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 50% { transform: translateY(-12px); } }
.hero-visual .badge {
  position: absolute; padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.95); color: var(--c-dark);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.hero-visual .badge .dot { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.hero-visual .badge-1 { top: 24px; left: -20px; }
.hero-visual .badge-2 { bottom: 80px; right: -16px; animation-delay: 1.5s; }
.hero-visual .badge-3 { bottom: 20px; left: 30px; animation-delay: 2.8s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* -------- section scaffolding -------- */
section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker, .section-head .kicker {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-primary);
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 18px;
}
.kicker.kicker-light {
  background: rgba(255,255,255,.1); color: #c9d4ea;
  border: 1px solid rgba(255,255,255,.2);
}
.kicker.kicker-warm { background: rgba(244,149,70,.15); color: var(--c-accent-600); }
.kicker.kicker-green { background: rgba(75,197,60,.15); color: var(--c-success-600); }

/* compact hero (used on inner pages — about, services, process, etc.) */
.hero.hero-compact { padding: 90px 0 60px; }
.hero.hero-404 { padding: 120px 0 140px; min-height: 70vh; }

/* hero tagline pre-headline (the small Audiowide line above the H1) */
.hero-tagline {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: .62em;
  color: #9fc4ff;
  margin-bottom: .5em;
  line-height: 1.1;
  letter-spacing: 0;
}
.section-head h2 { margin-bottom: 16px; }
.section-head h2 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }

.section-dark { background: var(--c-dark); color: #e4e6fa; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #b5bad7; }
.section-dark .section-head .kicker { background: rgba(255,255,255,.08); color: #c4bdff; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg"); background-size: 500px;
  opacity: .05; pointer-events: none;
}
.section-dark .container { position: relative; }

.section-tinted { background: var(--c-bg-alt); transition: background-color .25s ease; }
/* -------- stats band -------- */
.stats {
  background: var(--c-dark); color: #fff; padding: 60px 0;
  position: relative; overflow: hidden;
}
.stats::before { content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: .15; }
.stats-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--ff-heading); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  background: linear-gradient(120deg, #fff, #c4bdff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .lbl { margin-top: 10px; color: #a6aacb; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* -------- feature cards (3-up) -------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--c-surface); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s, background .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 62px; height: 62px; border-radius: 16px;
  background: var(--c-primary-50); display: grid; place-items: center;
  margin-bottom: 22px;
}
.card .icon img { width: 36px; height: 36px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--c-muted); font-size: .96rem; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.section-dark .card .icon { background: rgba(255,255,255,.08); }
.section-dark .card p { color: #a8adcf; }

/* -------- sectors -------- */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius);
  overflow: hidden; isolation: isolate; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,17,43,0) 30%, rgba(1,17,43,.9) 100%);
}
.sector .label {
  position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2;
  color: #fff; font-family: var(--ff-heading); font-weight: 700; font-size: 1.15rem;
}
.sector .sub { font-size: .78rem; opacity: .8; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.sector:hover img { transform: scale(1.08); }

/* -------- testimonials -------- */
.testi-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi {
  background: var(--c-surface); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 20px;
  position: relative; transition: transform .3s, box-shadow .3s, background .25s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi .quote-icon {
  position: absolute; top: 24px; right: 28px; font-family: var(--ff-heading);
  font-size: 4rem; line-height: .8; color: var(--c-primary-50); font-weight: 800;
}
.testi blockquote { color: var(--c-dark); font-size: 1rem; line-height: 1.7; }
.testi .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi .avatar {
  width: 60px; height: 60px; border-radius: 18px;
  overflow: hidden; flex: none;
  display: grid; place-items: end center;
  box-shadow: var(--shadow-sm);
}
.testi .avatar.av-1 { background: radial-gradient(circle at 50% 30%, #4CA4FA, #0447A5 70%); }
.testi .avatar.av-2 { background: radial-gradient(circle at 50% 30%, #F49546, #d97b2c 70%); }
.testi .avatar.av-3 { background: radial-gradient(circle at 50% 30%, #6dd957, #4BC53C 70%); }
.testi .avatar img {
  width: 130%; height: 130%; object-fit: cover; object-position: top center;
  margin-bottom: -10%;
}
.testi .name { font-family: var(--ff-heading); font-weight: 700; font-size: .95rem; }
.testi .role { font-size: .8rem; color: var(--c-muted); }
.testi .stars { color: #ffc239; font-size: .9rem; letter-spacing: 2px; }

/* -------- split section (dual CTA) -------- */
.dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.dual .panel {
  border-radius: var(--radius-xl); padding: 50px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.dual .panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.dual .panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,17,43,.2) 0%, rgba(1,17,43,.88) 90%);
}
.dual .panel:hover img { transform: scale(1.06); }
.dual .panel h3 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; }
.dual .panel p { color: #d6d8ea; margin-bottom: 20px; }
.dual .panel .btn { align-self: flex-start; }

/* -------- final CTA band -------- */
.cta-band {
  background: var(--grad-brand); color: #fff;
  border-radius: var(--radius-xl);
  padding: 70px clamp(30px, 6vw, 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg"); background-size: 400px;
  opacity: .1;
}
.cta-band h2 { color: #fff; max-width: 600px; }
.cta-band p { color: #e5e1ff; max-width: 540px; margin-top: 12px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band > div { position: relative; }

/* -------- process / timeline -------- */
.timeline { position: relative; display: grid; gap: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 34px; top: 30px; bottom: 30px;
  width: 2px; background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
  border-radius: 2px;
}
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: flex-start;
  padding: 24px 28px; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, background .25s;
  position: relative;
}
.step:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.step .num-bubble {
  width: 68px; height: 68px; border-radius: 20px; background: var(--grad-brand);
  color: #fff; display: grid; place-items: center;
  font-family: var(--ff-heading); font-size: 1.5rem; font-weight: 800;
  box-shadow: var(--shadow-primary); position: relative; z-index: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--c-muted); }

/* -------- about grid / values -------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value {
  padding: 36px; border-radius: var(--radius-lg);
  background: var(--c-surface); border: 1px solid var(--c-border);
  position: relative; overflow: hidden;
}
.value .v-num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--ff-heading); font-weight: 800; font-size: 3rem;
  color: var(--c-primary-50);
}
.value h3 { position: relative; }
.value p { position: relative; margin-top: 10px; color: var(--c-muted); }

.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.story-img {
  aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img .float {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  padding: 22px; background: rgba(255,255,255,.96); border-radius: 18px;
  box-shadow: var(--shadow-md); backdrop-filter: blur(10px);
}

/* -------- team — editorial cutout cards -------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-border);
  text-align: left; transition: transform .3s, box-shadow .3s, background .25s;
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .stage {
  position: relative; aspect-ratio: 4/5; isolation: isolate; overflow: hidden;
}
.team-card .stage::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 200px;
  opacity: .15; mix-blend-mode: screen;
}
.team-card .stage.bg-1 { background: radial-gradient(circle at 50% 30%, #4CA4FA, #0447A5 55%, #021a3d); }
.team-card .stage.bg-2 { background: radial-gradient(circle at 50% 30%, #F49546, #d97b2c 55%, #5a2a08); }
.team-card .stage.bg-3 { background: radial-gradient(circle at 50% 30%, #6dd957, #4BC53C 55%, #1f5414); }
.team-card .stage.bg-4 { background: radial-gradient(circle at 50% 30%, #4CA4FA, #033880 60%, #021a3d); }
.team-card .stage img {
  position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%);
  height: 108%; width: auto; max-width: none;
  filter: drop-shadow(-12px 18px 22px rgba(1,17,43,.45));
  transition: transform .5s ease;
}
.team-card:hover .stage img { transform: translateX(-50%) translateY(-6px); }
.team-card .info { padding: 22px 22px 24px; }
.team-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { font-size: .82rem; color: var(--c-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.team-card .bio { font-size: .86rem; color: var(--c-muted); margin-top: 10px; }

/* -------- candidate / employer specific -------- */
.audience-hero {
  background: var(--c-dark); color: #fff;
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.audience-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 500px;
  opacity: .05;
}
.audience-hero .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; position: relative; }
.audience-hero h1 { color: #fff; margin: 18px 0 22px; }
.audience-hero p { color: #b5bad7; font-size: 1.1rem; max-width: 560px; }
.audience-hero .stage {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); isolation: isolate; overflow: visible;
}
.audience-hero .stage.candidate { background: radial-gradient(circle at 30% 30%, #4CA4FA 0%, #0447A5 50%, #021a3d 100%); }
.audience-hero .stage.employer { background: radial-gradient(circle at 70% 30%, #F49546 0%, #d97b2c 50%, #5a2a08 100%); }
.audience-hero .stage::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 280px;
  opacity: .12; mix-blend-mode: screen; border-radius: var(--radius-xl);
}
.audience-hero .stage .cutout {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.audience-hero .stage .cutout img {
  height: 110%; width: auto; max-width: none;
  filter: drop-shadow(-30px 40px 50px rgba(1,17,43,.55));
  object-fit: contain; object-position: bottom center;
}
.audience-hero .stage .tag {
  position: absolute; top: 24px; left: 24px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--c-dark);
  font-family: var(--ff-heading); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: var(--shadow-md); z-index: 2;
}

.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: var(--c-surface); border-radius: 14px;
  border: 1px solid var(--c-border); font-size: .96rem;
  color: var(--c-text);
}
.checklist li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .78rem;
  margin-top: 1px;
}

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-feature.reverse { direction: rtl; }
.split-feature.reverse > * { direction: ltr; }
.split-feature img { border-radius: var(--radius-xl); aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-md); }
.split-feature h2 { margin-bottom: 16px; }
.split-feature .kicker {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-primary);
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 18px;
}

/* -------- FAQ -------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px;
  transition: border-color .3s, box-shadow .3s, background .25s;
}
.faq details[open] { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.faq summary {
  font-family: var(--ff-heading); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px;
  border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary);
  transform: rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin-top: 14px; color: var(--c-muted); }

/* -------- billboard / mockup banner -------- */
.banner-block {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; isolation: isolate;
  min-height: 380px;
  display: flex; align-items: center;
}
.banner-block img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.banner-block::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,26,61,.85) 0%, rgba(4,71,165,.55) 50%, rgba(2,26,61,.2) 100%);
}
.banner-block .content {
  padding: 60px clamp(30px, 5vw, 70px); color: #fff; max-width: 640px;
}
.banner-block h2.display { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.banner-block p { color: #d4e1f5; margin: 18px 0 28px; font-size: 1.08rem; }

/* -------- engagement model (replaces price tiers) -------- */
.engage-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  align-items: stretch;
}
.engage-block {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 44px;
  display: flex; flex-direction: column; gap: 22px;
}
.engage-block.dark {
  background: var(--c-dark); color: #fff; border-color: var(--c-dark);
  position: relative; overflow: hidden; isolation: isolate;
}
.engage-block.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/pattern.svg"); background-size: 380px; opacity: .08;
}
.engage-block.dark h3, .engage-block.dark h4 { color: #fff; }
.engage-block.dark p { color: #b9c5da; }
.engage-list { display: grid; gap: 14px; }
.engage-list .row {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: flex-start;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,.12);
}
.engage-block:not(.dark) .engage-list .row { border-color: var(--c-border); }
.engage-list .row:last-child { border: 0; padding-bottom: 0; }
.engage-list .icon-pill {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(76,164,250,.18); color: var(--c-sky);
  display: grid; place-items: center; font-family: var(--ff-display);
  font-weight: 400; font-size: 1rem;
}
.engage-block:not(.dark) .engage-list .icon-pill {
  background: var(--c-primary-50); color: var(--c-primary);
}
.engage-list .copy strong { display: block; font-size: 1rem; margin-bottom: 4px; font-family: var(--ff-heading); }
.engage-list .copy span { font-size: .88rem; color: var(--c-muted); }
.engage-block.dark .engage-list .copy span { color: #9ba8c2; }

/* -------- visa pathways -------- */
.visa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.visa-card {
  background: var(--c-surface); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--c-border);
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, background .25s;
}
.visa-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--grad-brand); opacity: .08;
}
.visa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.visa-card .badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-primary);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 14px;
}
.visa-card .badge.warm { background: rgba(244,149,70,.15); color: var(--c-accent-600); }
.visa-card .badge.green { background: rgba(75,197,60,.15); color: var(--c-success-600); }
.visa-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.visa-card p { font-size: .92rem; color: var(--c-muted); margin-bottom: 18px; }
.visa-card .meta { display: grid; gap: 8px; font-size: .84rem; }
.visa-card .meta div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px dashed var(--c-border); }
.visa-card .meta div:first-child { border-top: 0; }
.visa-card .meta strong { color: var(--c-dark); }

/* -------- eligibility checker -------- */
.checker {
  background: linear-gradient(140deg, var(--c-primary) 0%, var(--c-dark) 100%);
  color: #fff; border-radius: var(--radius-xl);
  padding: 50px clamp(30px, 5vw, 60px);
  position: relative; overflow: hidden; isolation: isolate;
}
.checker::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/pattern.svg"); background-size: 400px; opacity: .08;
}
.checker::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,149,70,.35), transparent 70%);
  filter: blur(40px);
}
.checker .head { max-width: 620px; margin-bottom: 30px; position: relative; }
.checker h2 { color: #fff; }
.checker p { color: #b9c5da; margin-top: 12px; }
.checker form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; position: relative; }
.checker .field-c { display: flex; flex-direction: column; gap: 6px; }
.checker label { font-size: .78rem; font-weight: 600; color: #c9d4ea; text-transform: uppercase; letter-spacing: .06em; }
.checker select, .checker input {
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff; font-size: .95rem;
}
.checker select option { color: #021a3d; }
.checker input::placeholder { color: rgba(255,255,255,.5); }
.checker select:focus, .checker input:focus { outline: none; border-color: var(--c-sky); background: rgba(255,255,255,.14); }
.checker .submit { display: flex; align-items: flex-end; }
.checker .submit button { width: 100%; height: 50px; }
.checker .result {
  margin-top: 24px; padding: 22px 26px;
  background: rgba(75,197,60,.12); border: 1.5px solid rgba(75,197,60,.35);
  border-radius: 14px; display: none; gap: 16px; align-items: center;
}
.checker .result.show { display: flex; }
.checker .result svg { flex: none; color: #a2e896; }
.checker .result strong { display: block; color: #fff; font-size: 1.05rem; }
.checker .result span { color: #c9e3c5; font-size: .88rem; }

/* -------- resources / knowledge hub -------- */
.resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-card {
  display: flex; flex-direction: column; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s, box-shadow .3s, background .25s;
}
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.res-card .img {
  aspect-ratio: 16/9; background: var(--c-primary-50); position: relative; overflow: hidden;
}
.res-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.res-card:hover .img img { transform: scale(1.06); }
.res-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.res-card .tag {
  align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--c-primary-50); color: var(--c-primary);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.res-card h3 { font-size: 1.1rem; line-height: 1.3; }
.res-card p { font-size: .88rem; color: var(--c-muted); flex: 1; }
.res-card .read-more {
  font-size: .86rem; font-weight: 600; color: var(--c-primary);
  display: inline-flex; align-items: center; gap: 6px;
}

/* -------- pricing (legacy class kept for safety) -------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 40px 36px; display: flex; flex-direction: column; gap: 22px;
  transition: transform .3s, box-shadow .3s;
}
.plan.featured {
  background: var(--c-dark); color: #fff; border-color: var(--c-dark);
  transform: scale(1.03); box-shadow: var(--shadow-lg); position: relative;
}
.plan.featured::before {
  content: "Most Popular"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); padding: 6px 18px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan .plan-name { font-family: var(--ff-heading); font-weight: 700; font-size: 1.3rem; }
.plan .plan-price { font-family: var(--ff-heading); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.plan .plan-price span { font-size: .9rem; font-weight: 500; color: var(--c-muted); }
.plan.featured .plan-price span { color: #a8adcf; }
.plan ul { display: grid; gap: 12px; font-size: .94rem; color: var(--c-muted); }
.plan.featured ul { color: #c8ccea; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--c-primary); font-weight: 700; }
.plan.featured ul li::before { color: #9f93ff; }
.plan .btn { margin-top: auto; justify-content: center; }

/* -------- contact form -------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; }
.contact-form {
  background: var(--c-surface); padding: 44px; border-radius: var(--radius-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--c-dark); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-border);
  background: #fafbff; transition: border-color .2s, background .2s;
  font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(62,48,195,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #c21f4a; font-size: .8rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c21f4a; }

.intent-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.intent-toggle label {
  padding: 14px 18px; border: 1.5px solid var(--c-border); border-radius: 14px;
  background: #fafbff; text-align: center; font-weight: 600; cursor: pointer;
  transition: all .2s; display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.intent-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.intent-toggle label small { font-weight: 400; color: var(--c-muted); font-size: .78rem; }
.intent-toggle input:checked + label,
.intent-toggle label.active {
  background: var(--c-primary-50); border-color: var(--c-primary); color: var(--c-primary);
}

.contact-aside {
  background: var(--c-dark); color: #fff; padding: 44px;
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.contact-aside::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg"); background-size: 400px; opacity: .07;
}
.contact-aside > * { position: relative; }
.contact-aside h3 { color: #fff; margin-bottom: 10px; }
.contact-aside p { color: #b5bad7; margin-bottom: 28px; }
.contact-aside .info-line {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
  font-size: .92rem; color: #d4d7ef;
}
.contact-aside .info-line .icon {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; flex: none;
}
.contact-aside .info-line .icon svg { width: 20px; height: 20px; color: #c4bdff; }
.contact-aside a { color: #fff; }

.success-banner {
  padding: 22px 26px; border-radius: 14px; margin-bottom: 24px;
  background: linear-gradient(120deg, rgba(123,255,143,.15), rgba(62,48,195,.1));
  border: 1px solid rgba(123,255,143,.35); color: #0c5b2a;
  display: flex; gap: 14px; align-items: center;
}
.success-banner strong { color: #064e1e; }

.map-embed iframe {
  width: 100%; height: 320px; border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); margin-top: 30px;
}

/* -------- footer -------- */
.site-footer {
  background: var(--c-dark); color: #d4d7ef; padding: 80px 0 30px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg"); background-size: 500px; opacity: .04;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid .brand .brand-name { color: #fff; }
.footer-brand p { margin: 18px 0 24px; max-width: 320px; color: #9ea3c6; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-family: var(--ff-heading); }
.footer-grid h4.footer-h4-spaced { margin-top: 26px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #a8acd0; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.05); display: grid; place-items: center;
  color: #c4bdff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--c-primary); color: #fff; transform: translateY(-3px); }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.newsletter input {
  padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); color: #fff;
}
.newsletter input::placeholder { color: #7880a6; }
.newsletter input:focus { outline: none; border-color: var(--c-primary); }
.newsletter-msg { grid-column: 1 / -1; font-size: .82rem; color: #7bff8f; }
.footer-address { font-style: normal; margin-top: 20px; font-size: .88rem; line-height: 1.8; color: #8c92b8; }
.footer-address a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: #7880a6; flex-wrap: wrap; gap: 14px;
}
.flag-stripe { display: inline-flex; height: 4px; border-radius: 4px; overflow: hidden; width: 60px; }
.flag-stripe i { flex: 1; }
.flag-stripe i:nth-child(1) { background: #000; }
.flag-stripe i:nth-child(2) { background: #dd0000; }
.flag-stripe i:nth-child(3) { background: #ffce00; }

/* -------- Stories — real placement cards (photo + name + role + country) -------- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}
.stories-grid .story-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(6) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(7) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(8) { grid-column: span 4; grid-row: span 2; }
.stories-grid .story-card:nth-child(9) { grid-column: span 4; grid-row: span 2; }
.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .4s ease, box-shadow .4s ease;
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-card .photo {
  position: absolute; inset: 0; z-index: 0;
}
.story-card .photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .8s ease;
}
.story-card:hover .photo img { transform: scale(1.05); }
.story-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(2,26,61,.4) 60%, rgba(2,26,61,.95) 100%);
}
.story-card .country {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--c-dark);
  font-family: var(--ff-heading); font-weight: 700;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px;
}
.story-card .country .arrow {
  width: 14px; height: 1.5px; background: var(--c-primary); position: relative;
}
.story-card .country .arrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; border-top: 1.5px solid var(--c-primary); border-right: 1.5px solid var(--c-primary);
  transform: translateY(-50%) rotate(45deg);
}
.story-card .info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 26px 26px;
  color: #fff;
}
.story-card .info .name {
  font-family: var(--ff-heading);
  font-weight: 800; font-size: 1.4rem;
  letter-spacing: -.01em; line-height: 1.15;
  margin-bottom: 8px;
}
.story-card .info .role {
  font-size: .88rem; color: #d4e1f5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-weight: 500;
}
.story-card .info .role .sep {
  width: 4px; height: 4px; border-radius: 50%; background: var(--c-sky); opacity: .8;
}
.story-card .info .timeline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: #9fc4ff;
  font-weight: 600;
}
.story-card .info .timeline svg { width: 14px; height: 14px; flex: none; }

@media (max-width: 1024px) {
  .stories-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; }
  .stories-grid .story-card:nth-child(n) { grid-column: span 3; }
}
@media (max-width: 600px) {
  .stories-grid { grid-template-columns: 1fr; grid-auto-rows: 420px; }
  .stories-grid .story-card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}

/* -------- Faces wall — editorial portrait mosaic (homepage centerpiece) -------- */
.faces-section {
  background: var(--c-dark);
  color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
}
.faces-section::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 500px;
  opacity: .05; pointer-events: none;
}
.faces-section::after {
  content: ""; position: absolute; left: -200px; bottom: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,149,70,.18), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.faces-section .container { position: relative; z-index: 1; }
.faces-section .section-head h2 { color: #fff; }
.faces-section .section-head p { color: #b9c5da; }
.faces-section .section-head .kicker {
  background: rgba(255,255,255,.08); color: #c9d4ea;
  border: 1px solid rgba(255,255,255,.18);
}

.faces-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.face {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  isolation: isolate;
  transition: transform .4s ease, box-shadow .4s ease;
}
.face:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.face::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 220px;
  opacity: .12; mix-blend-mode: screen; z-index: 1;
}
.face .img-stage {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 2;
}
.face .img-stage img {
  height: 108%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(-15px 24px 30px rgba(0,0,0,.45));
  transition: transform .6s ease;
}
.face:hover .img-stage img { transform: scale(1.05) translateY(-4px); }
/* Single editorial value tag — no fake bios */
.face .face-tag {
  position: absolute; left: 18px; bottom: 18px;
  z-index: 3;
  font-family: var(--ff-display);
  font-weight: 400; font-size: 1.4rem;
  color: rgba(255,255,255,.96);
  letter-spacing: .02em;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
  transform: translateY(4px);
  opacity: .88;
  transition: transform .4s ease, opacity .4s ease;
}
.face:hover .face-tag { transform: translateY(0); opacity: 1; }
/* Subtle bottom vignette for legibility under the tag */
.face::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
  opacity: .85;
}

/* Background gradients per portrait — match each subject's lighting */
.face.bg-red    { background: radial-gradient(circle at 50% 35%, #b8253c 0%, #6d0e1f 60%, #2a0410 100%); }
.face.bg-mono   { background: radial-gradient(circle at 50% 35%, #4a4f5e 0%, #1d2030 60%, #0a0d18 100%); }
.face.bg-tan    { background: radial-gradient(circle at 50% 35%, #e8a766 0%, #b06d2c 60%, #4a2a08 100%); }
.face.bg-teal   { background: radial-gradient(circle at 50% 35%, #2bb3a3 0%, #0d6b6b 60%, #021e2a 100%); }
.face.bg-yellow { background: radial-gradient(circle at 50% 35%, #f0c243 0%, #b07a14 60%, #3e2806 100%); }
.face.bg-green  { background: radial-gradient(circle at 50% 35%, #2faf3a 0%, #0c5e1f 60%, #061f0d 100%); }
.face.bg-redblue{ background: linear-gradient(135deg, #2645b8 0%, #6b1730 50%, #2a0410 100%); }
.face.bg-blue   { background: radial-gradient(circle at 50% 35%, #4CA4FA 0%, #0447A5 55%, #021a3d 100%); }
.face.bg-night  { background: radial-gradient(circle at 50% 35%, #1a3a8a 0%, #021a3d 60%, #00081f 100%); }

/* Mosaic spans — varied tile sizes for editorial rhythm */
.face.f-1 { grid-column: span 4; grid-row: span 2; }
.face.f-2 { grid-column: span 3; grid-row: span 2; }
.face.f-3 { grid-column: span 5; grid-row: span 2; }
.face.f-4 { grid-column: span 3; grid-row: span 2; }
.face.f-5 { grid-column: span 4; grid-row: span 2; }
.face.f-6 { grid-column: span 5; grid-row: span 2; }
.face.f-7 { grid-column: span 4; grid-row: span 2; }
.face.f-8 { grid-column: span 4; grid-row: span 2; }
.face.f-9 { grid-column: span 4; grid-row: span 2; }

/* Faces marquee strip — silent, infinite scroll under the section heading */
.faces-marquee {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.faces-marquee .track {
  display: flex; gap: 60px; align-items: center;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.faces-marquee .item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-heading);
  color: #d4e1f5; font-size: .95rem; font-weight: 600;
  white-space: nowrap;
}
.faces-marquee .item .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-sky);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .faces-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
  .face.f-1 { grid-column: span 3; }
  .face.f-2 { grid-column: span 3; }
  .face.f-3 { grid-column: span 6; }
  .face.f-4 { grid-column: span 3; }
  .face.f-5 { grid-column: span 3; }
  .face.f-6 { grid-column: span 6; }
  .face.f-7 { grid-column: span 3; }
  .face.f-8 { grid-column: span 3; }
  .face.f-9 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .faces-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .face[class*="f-"] { grid-column: span 1; grid-row: span 1; }
}

/* -------- legal pages (Privacy, Terms, Imprint) -------- */
.legal-hero {
  background: var(--grad-hero);
  color: #fff; padding: 90px 0 60px;
  position: relative; overflow: hidden;
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern.svg") repeat; background-size: 500px;
  opacity: .07;
}
.legal-hero .container { position: relative; }
.legal-hero h1 { color: #fff; margin-bottom: 16px; }
.legal-hero p { color: #b9c5da; max-width: 640px; }
.legal-hero .updated {
  display: inline-block; margin-top: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: .82rem; color: #c9d4ea;
}

.legal-wrap {
  display: grid; grid-template-columns: 260px 1fr; gap: 60px;
  align-items: flex-start;
}
.legal-toc {
  position: sticky; top: 100px;
  padding: 24px; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  font-size: .88rem;
}
.legal-toc h4 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-muted); margin-bottom: 14px;
}
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.legal-toc ol li { counter-increment: toc; }
.legal-toc ol li a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--c-text); transition: background .2s, color .2s;
}
.legal-toc ol li a:hover { background: var(--c-primary-50); color: var(--c-primary); }
.legal-toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--ff-heading); font-weight: 700; color: var(--c-sky);
  margin-right: 10px; font-size: .8rem;
}

.legal-content {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 50px clamp(28px, 4vw, 60px);
  font-size: .96rem; line-height: 1.75;
}
.legal-content h2 {
  font-size: 1.5rem; margin: 44px 0 16px; padding-top: 8px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 28px 0 12px; }
.legal-content p { margin-bottom: 14px; color: var(--c-text); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 18px; }
.legal-content ul li, .legal-content ol li { margin-bottom: 8px; color: var(--c-text); }
.legal-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--c-primary-600); }
.legal-content strong { color: var(--c-text); font-weight: 700; }
.legal-content .info-box {
  padding: 20px 24px; border-radius: 14px;
  background: var(--c-primary-50); border-left: 4px solid var(--c-primary);
  margin: 18px 0;
}
.legal-content .info-box.warm {
  background: rgba(244,149,70,.1); border-left-color: var(--c-accent);
}
.legal-content table {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  font-size: .88rem;
}
.legal-content table th, .legal-content table td {
  padding: 12px 14px; text-align: left; border: 1px solid var(--c-border);
}
.legal-content table th { background: var(--c-bg-alt); font-weight: 700; }
.legal-content dl { margin: 14px 0; }
.legal-content dt { font-weight: 700; color: var(--c-text); margin-top: 12px; }
.legal-content dd { margin: 4px 0 0 0; color: var(--c-text-soft); }

@media (max-width: 980px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* -------- cookie consent banner -------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  z-index: 200; max-width: 760px; margin: 0 auto;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  display: none; gap: 22px; align-items: flex-start;
  transform: translateY(20px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { display: flex; transform: translateY(0); opacity: 1; }
.cookie-banner .icon-wrap {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
}
.cookie-banner .icon-wrap svg { width: 24px; height: 24px; }
.cookie-banner .text { flex: 1; }
.cookie-banner h4 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .86rem; color: var(--c-text-soft); margin: 0; }
.cookie-banner p a { color: var(--c-primary); text-decoration: underline; }
.cookie-banner .actions {
  display: flex; gap: 10px; align-items: center; margin-left: auto;
  flex: none;
}
.cookie-banner .actions .btn { padding: 10px 20px; font-size: .85rem; }

@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; left: 10px; right: 10px; bottom: 80px; padding: 22px; }
  .cookie-banner .actions { width: 100%; margin-left: 0; }
  .cookie-banner .actions .btn { flex: 1; }
}

/* -------- mobile floating CTA — single button, scroll-aware -------- */
.mobile-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: none;            /* shown only on mobile + only after hero out of view */
  z-index: 40;
  opacity: 0;
  transform: translateY(20px) scale(.92);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff !important;
  font-family: var(--ff-heading); font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 36px rgba(4,71,165,.45), 0 0 0 4px rgba(76,164,250,.18);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mobile-cta a:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(4,71,165,.55), 0 0 0 4px rgba(76,164,250,.25); }
.mobile-cta a svg { width: 18px; height: 18px; }

/* -------- animations -------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero-visual .badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* -------- responsive -------- */
@media (max-width: 1024px) {
  .hero-grid, .story, .split-feature, .contact-grid, .dual, .audience-hero .grid,
  .engage-grid {
    grid-template-columns: 1fr;
  }
  .cards-3, .values, .testi-wrap, .pricing, .visa-grid, .resources { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
  .checker form { grid-template-columns: 1fr 1fr; }
  .checker .submit { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: grid; place-items: center; }
  .brand img.brand-logo { height: 32px; }     /* tighter logo on small screens */
  :root { --nav-h: 64px; }
  .nav-list {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 20px; border-bottom: 1px solid var(--c-border);
    transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-list.open { transform: none; }
  .nav-list a { padding: 14px 16px; font-size: 1rem; }
  .nav-list .nav-cta a { text-align: center; margin-top: 8px; }

  .cards-3, .values, .testi-wrap, .pricing, .visa-grid, .resources,
  .sectors, .team-grid, .form-row { grid-template-columns: 1fr; }
  .checker form { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  /* Hero — give the trust strip room and stack the dual buttons full-width */
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 18px 24px; margin-top: 36px; }
  .hero-trust .item .num { font-size: 1.6rem; }
  .hero-trust .item .lbl { font-size: .72rem; }
  .hero-visual { aspect-ratio: 4/4.4; margin-top: 10px; }
  .hero-visual .badge-1 { left: 10px; top: 14px; }
  .hero-visual .badge-2 { right: 10px; }
  .hero-visual .badge-3 { left: 16px; bottom: 10px; }
  .hero-visual .badge { padding: 10px 14px; font-size: .78rem; }
  .hero-visual .badge .dot { width: 30px; height: 30px; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 50px 30px; }

  .mobile-cta { display: block; }
  /* No bottom padding override — the floating button sits in the corner, not a bar */
  .step { grid-template-columns: 60px 1fr; padding: 20px; }
  .step .num-bubble { width: 54px; height: 54px; font-size: 1.2rem; border-radius: 16px; }
  .timeline::before { left: 27px; }
  .contact-form, .contact-aside { padding: 28px; }

  /* Faces gallery on mobile — let the section breathe */
  .faces-section { padding: 70px 0 80px; }
}


/* ===== GUIDES / KNOWLEDGE HUB ===== */

/* Toolbar */
.guides-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: flex-start; margin-bottom: 1.5rem;
}
.guides-search {
  position: relative; display: flex; align-items: center;
  flex: 0 0 280px;
}
.guides-search svg {
  position: absolute; left: 12px; width: 16px; height: 16px;
  color: var(--c-muted); pointer-events: none;
}
.guides-search input {
  width: 100%; padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--c-border); border-radius: 10px;
  font-size: .9rem; font-family: var(--ff-body);
  transition: border-color .2s;
}
.guides-search input:focus { outline: none; border-color: var(--c-primary); }

.guides-topics {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.topic-pill {
  padding: 6px 16px; border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--c-border);
  color: var(--c-muted); background: #fff;
  text-decoration: none; white-space: nowrap;
  transition: all .2s;
}
.topic-pill:hover { border-color: var(--c-primary); color: var(--c-primary); }
.topic-pill.active {
  background: var(--c-primary); border-color: var(--c-primary);
  color: #fff;
}

.guides-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .88rem; color: var(--c-muted);
  margin-bottom: 1.75rem;
}

/* Article grid extends .resources */
.guides-grid { grid-template-columns: repeat(3, 1fr); }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; justify-content: center; margin-top: 3rem;
}
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px; font-size: .88rem; font-weight: 600;
  border: 1.5px solid var(--c-border);
  color: var(--c-dark); background: #fff;
  text-decoration: none; transition: all .2s;
}
.page-btn:hover:not(.disabled):not(.active) { border-color: var(--c-primary); color: var(--c-primary); }
.page-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.page-btn.disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ---- Guide detail ---- */

.guide-hero {
  position: relative; height: clamp(340px, 45vw, 520px);
  display: flex; align-items: flex-end;
}
.guide-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.guide-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,26,61,.92) 30%, rgba(2,26,61,.45) 70%, transparent);
}
.guide-hero-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
}
.guide-hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  max-width: 800px; line-height: 1.18;
  margin-bottom: .75rem;
}
.guide-excerpt {
  font-size: 1.05rem; color: rgba(255,255,255,.78);
  max-width: 680px; margin-bottom: 1rem;
}
.guide-meta {
  font-size: .85rem; color: rgba(255,255,255,.65);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.guide-meta .sep { opacity: .4; }
.back-link {
  display: inline-block; margin-bottom: 1.25rem;
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: #fff; }

.guide-body-section { padding: 4rem 0 3rem; }
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem; align-items: start;
}
.guide-content {
  font-size: 1.025rem; line-height: 1.8; color: var(--c-dark);
}
.guide-content h3 {
  font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .75rem;
  color: var(--c-dark);
}
.guide-content p { margin-bottom: 1.25rem; }
.guide-content ul, .guide-content ol {
  padding-left: 1.4rem; margin-bottom: 1.25rem;
}
.guide-content li { margin-bottom: .5rem; }
.guide-content strong { font-weight: 700; color: var(--c-dark); }
.guide-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .9rem;
}
.guide-content th {
  background: var(--c-light); padding: 10px 14px;
  text-align: left; font-weight: 700; border-bottom: 2px solid var(--c-border);
}
.guide-content td {
  padding: 10px 14px; border-bottom: 1px solid var(--c-border);
}

.guide-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-card {
  background: var(--c-light); border-radius: 16px;
  padding: 24px; margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: .6rem; }
.sidebar-card p { font-size: .88rem; color: var(--c-muted); margin-bottom: 1rem; }

.related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.related-list li a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--c-dark);
  font-size: .88rem; font-weight: 500; line-height: 1.3;
  transition: color .2s;
}
.related-list li a:hover { color: var(--c-primary); }
.related-list li a img {
  width: 60px; height: 44px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .guides-grid, .resources { grid-template-columns: repeat(2, 1fr); }
  .guides-toolbar { flex-direction: column; }
  .guides-search { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .guides-grid, .resources { grid-template-columns: 1fr; }
  .guide-hero { height: auto; min-height: 280px; }
  .guide-hero-content h1 { font-size: 1.5rem; }
}
