:root {
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-soft: #eef2ff;
  --navy: #0f1629;
  --navy-light: #1e293b;
  --accent: #5b5fed;
  --accent-dark: #4338ca;
  --accent-light: #818cf8;
  --accent-pale: #e0e7ff;
  --gold: #f59e0b;
  --green: #10b981;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 22, 41, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 22, 41, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 22, 41, 0.12);
  --radius: 16px;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  padding-top: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

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

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.logo img,
.logo svg {
  display: block;
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; justify-self: end; gap: 12px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  color: var(--text-medium);
}
.lang-switch a.active { background: var(--accent-pale); color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  padding: 18px 32px;
  transition: 0.2s ease;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 25px rgba(91,95,237,0.28); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: #1e293b; border: 1.6px solid #cbd5e1; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(0.95); }
.btn-lg { padding: 18px 32px; }

.nav-cta {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background: #4f46e5;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
}
.hero > .container { min-width: 0; width: 100%; }
.hero::before {
  content: "";
  position: absolute;
  top: -300px; right: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91,95,237,0.08), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-grid > * { min-width: 0; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 16px;
}
.hero h1 em, .highlight { color: #5b5fed; font-style: normal; }
.hero .lede {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 28px;
}
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.pill {
  background: #fff;
  border: 2px solid #5b5fed;
  color: var(--navy);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 32px;
}
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: #475569; }
.check i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-weight: 800; font-size: 12px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual { display: flex; align-items: center; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 32px; right: 8%;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(129,140,248,0.35) 2px, transparent 2px);
  background-size: 22px 22px;
}
.page-hero .container { position: relative; z-index: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,95,237,0.18);
  border: 1px solid rgba(129,140,248,0.35);
  color: var(--accent-light);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.2px;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 14px;
}
.page-hero p { max-width: 640px; color: #cbd5e1; font-size: 17px; }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2, .section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-bottom: 12px;
}
.muted { color: var(--text-medium); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.method { font-size: 12px; color: var(--text-light); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.card p { color: var(--text-medium); font-size: 15px; margin-bottom: 16px; }
.points li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-medium);
}
.points li:last-child { border: 0; }
.points strong { color: var(--navy); min-width: 96px; }
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
  background: var(--accent-pale);
}
.card.gold .icon { background: #fef3c7; }
.card.green .icon { background: #d1fae5; }

.bg-light { background: var(--bg-light); }
.bg-soft { background: #f8fafc; }

.formation-card .meta { color: var(--text-light); font-size: 13px; margin-bottom: 10px; }
.tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sector {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, #334155, var(--navy));
}
.sector h3 { font-size: 22px; margin: 6px 0 8px; }
.sector p { color: #e2e8f0; font-size: 14px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { background: rgba(255,255,255,0.12); border-radius: 999px; padding: 4px 10px; font-size: 12px; }

.about-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.portrait {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px;
}
.portrait img {
  width: 160px; height: 160px; object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 4px solid var(--accent-pale);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 28px; color: var(--accent); letter-spacing: -1px; }
.stat span { font-size: 13px; color: var(--text-medium); }
.quote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  color: var(--navy);
}

/* Mission tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -28px auto 40px;
  position: relative;
  z-index: 2;
}
.tab {
  border: 0;
  background: #eef2ff;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.tab.active { background: var(--accent); color: #fff; }
.mission-panel { display: none; }
.mission-panel.active { display: block; }
.mission-hero {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.mission-hero h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -1px; margin: 10px 0 14px; }
.mission-hero p { color: #cbd5e1; }
.float-card {
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 28px;
}
.float-card .method { color: var(--accent); }

.steps { display: grid; gap: 16px; }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.step h3 { margin-bottom: 8px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.mini { background: var(--bg-light); border-radius: 12px; padding: 14px; }
.mini strong { display: block; font-size: 13px; margin-bottom: 4px; }
.mini span { font-size: 13px; color: var(--text-medium); }

.cta-band {
  background: linear-gradient(135deg, var(--navy), #312e81);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}
.cta-band p { color: #cbd5e1; max-width: 560px; margin: 10px auto 22px; }

/* Forms */
form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 13px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-pale); border-color: var(--accent); }

/* Diagnostic */
.diag-progress { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 76px; z-index: 20; }
.bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s; }
.q-card, .intro-card, .result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin: 32px auto;
  max-width: 760px;
}
.options { display: grid; gap: 10px; }
.option {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.option.selected { border-color: var(--accent); background: var(--accent-pale); }
.q-card { display: none; }
.q-card.active { display: block; }
.nav-q { display: flex; justify-content: space-between; margin-top: 24px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer .logo { margin-bottom: 12px; }
.site-footer .logo svg { height: 36px; }
.site-footer h4 { color: var(--accent-light); font-size: 14px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: #cbd5e1; font-size: 14px; text-decoration: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal { max-width: 800px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { margin: 28px 0 10px; font-size: 20px; }
.legal p, .legal li { color: var(--text-medium); margin-bottom: 10px; }
.legal ul { padding-left: 18px; list-style: disc; }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; }
  .nav-links, .nav-right .lang-switch, .nav-right .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
  }
  .hero-grid, .mission-hero, .about-wrap, .footer-grid, .grid-3, .grid-2, .grid-4, .form-row, .checks, .mini-grid, .stats {
    grid-template-columns: 1fr;
  }
  .hero-actions, .nav-q { flex-direction: column; }
  .hero, section { padding: 56px 0; }
  .page-hero .container[style*="grid"],
  .bg-light > .container[style*="grid"] { display: block !important; }
}
