/* ==========================================================================
   EuroLegalBot — Criminal Matters Chatbot
   Enhancing Judicial Cooperation through a European Arrest Warrant (EAW) Chatbot
   Stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #16357a;
  --navy-deep:   #0f235a;
  --navy-darker: #0a1842;
  --blue:        #1f6fb2;
  --cyan:        #1f9ed7;
  --eu-blue:     #003399;
  --eu-gold:     #ffcc00;

  --ink:    #14213d;
  --body:   #3a4256;
  --muted:  #6b7488;
  --line:   #e4e8f0;
  --bg:     #ffffff;
  --bg-alt: #f5f8fc;
  --bg-soft:#eef3fa;

  --grad-brand: linear-gradient(120deg, #16357a 0%, #1f6fb2 52%, #1f9ed7 100%);
  --grad-brand-soft: linear-gradient(120deg, #16357a 0%, #2a64a8 100%);
  --grad-journey: linear-gradient(180deg, #15a39b 0%, #2e6df0 28%, #6d4ed8 52%, #b14ed8 72%, #e0408a 86%, #ef4056 100%);

  --shadow-sm: 0 2px 8px rgba(16, 38, 88, .06);
  --shadow:    0 10px 30px rgba(16, 38, 88, .10);
  --shadow-lg: 0 24px 60px rgba(16, 38, 88, .16);

  --radius:    14px;
  --radius-lg: 22px;
  --container:  1180px;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-family: var(--serif); }
h2 { font-family: var(--serif); }
ul { padding-left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.section-intro { font-size: 1.12rem; color: var(--body); max-width: 760px; }
.section .center .section-intro { margin-inline: auto; }
.divider { width: 64px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin: 18px 0 28px; }
.center .divider { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(31,111,178,.32); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31,111,178,.42); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { color: var(--navy); border-color: var(--cyan); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand .brand-text { display: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--sans); font-weight: 600; font-size: .94rem; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; position: relative; letter-spacing: .01em;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--grad-brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); }

.nav-cta { margin-left: 10px; }
.nav-cta .btn, .nav-cta .btn:hover { padding: 10px 20px; font-size: .9rem; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; margin: 5px auto; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-brand); color: #fff;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(31,158,215,.45), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.1; margin-bottom: 22px; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.96); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); width: 100%; max-width: 380px;
}
.hero-card img { margin: 0 auto 18px; max-height: 230px; width: auto; }
.hero-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); margin-top: 10px; }
.hero-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); flex: none; }
.hero-chip span { color: var(--body); font-size: .92rem; font-weight: 500; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; position: relative; z-index: 1; }
.fact {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 16px 22px; min-width: 150px;
}
.fact b { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.fact span { font-size: .82rem; color: rgba(255,255,255,.82); letter-spacing: .02em; }

/* page hero (interior pages) */
.page-hero {
  background: var(--grad-brand-soft); color: #fff;
  padding: 70px 0 78px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(31,158,215,.4), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--eu-gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 720px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4dcea; }
.card h3 { font-family: var(--sans); font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: .98rem; color: var(--body); margin: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card .num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-soft); color: var(--navy); font-weight: 800; font-family: var(--serif);
  font-size: 1.15rem; margin-bottom: 16px;
}

/* feature list (focus areas) */
.feature {
  display: flex; gap: 20px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .badge {
  flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #fff; background: var(--grad-brand);
}
.feature h3 { font-family: var(--sans); font-size: 1.18rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .98rem; }

/* ---------- Two-column text/visual ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-visual { order: -1; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-family: var(--sans); font-size: 1.3rem; margin: 26px 0 10px; }

.visual-panel {
  border-radius: var(--radius-lg); padding: 40px; color: #fff;
  background: var(--grad-brand); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.visual-panel::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.visual-panel h3 { color: #fff; font-family: var(--serif); font-size: 1.6rem; margin-bottom: 14px; }
.visual-panel ul { list-style: none; position: relative; z-index: 1; }
.visual-panel li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: rgba(255,255,255,.94); }
.visual-panel li svg { flex: none; margin-top: 4px; }

/* check list */
.checklist { list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.checklist li .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; color: var(--cyan); margin-top: 2px;
}
.checklist li .tick svg { width: 14px; height: 14px; }

/* simple bullet pill list */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pill-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 10px 20px;
  font-weight: 500; font-size: .95rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.pill-list li::before { content: "▸"; color: var(--cyan); margin-right: 8px; font-weight: 700; }

/* ==========================================================================
   6-Step Learning Journey
   ========================================================================== */
.journey { position: relative; max-width: 1000px; margin: 40px auto 0; }
.journey-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%);
  background: var(--grad-journey); border-radius: 6px;
}
.journey-step { position: relative; display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-bottom: 26px; }
.journey-step:last-child { margin-bottom: 0; }
.journey-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey-card h3 { font-family: var(--sans); font-size: 1.12rem; margin-bottom: 6px; }
.journey-card p { font-size: .95rem; margin: 0; }
.journey-step:nth-child(odd) .journey-card { grid-column: 1; text-align: right; }
.journey-step:nth-child(even) .journey-card { grid-column: 3; }
.journey-node {
  grid-column: 2; justify-self: center; z-index: 2;
  width: 56px; height: 56px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.3rem; font-family: var(--serif);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
  box-shadow: 0 8px 18px rgba(16,38,88,.2);
}
.journey-step .journey-card { position: relative; }

/* ==========================================================================
   Why-method / pillars (dark cards on alt)
   ========================================================================== */
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); height: 100%; border-top: 4px solid var(--cyan);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.pillar h3 { font-family: var(--sans); font-size: 1.15rem; margin-bottom: 10px; }
.pillar p { font-size: .96rem; margin: 0; }

/* ==========================================================================
   Timeline (objectives / methodology)
   ========================================================================== */
.steps { display: grid; gap: 22px; }
.step-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.step-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-row .step-no {
  width: 64px; height: 64px; border-radius: 16px; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.7rem;
}
.step-row h3 { font-family: var(--sans); font-size: 1.22rem; margin-bottom: 8px; }
.step-row p { margin: 0; }

/* ==========================================================================
   Impact (short / medium / long term)
   ========================================================================== */
.impact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); height: 100%; position: relative; overflow: hidden; }
.impact-card .term { font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; color: var(--cyan); margin-bottom: 8px; }
.impact-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 12px; }
.impact-card p { font-size: .98rem; margin: 0; }
.impact-card .ribbon { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--grad-brand); }

/* ==========================================================================
   Partners / consortium
   ========================================================================== */
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: stretch; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px;
  display: grid; place-items: center; min-height: 150px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner img { max-height: 84px; width: auto; object-fit: contain; filter: saturate(1); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -30%, rgba(255,255,255,.2), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ==========================================================================
   Avatar / AI assistant
   ========================================================================== */
.avatar-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.chat-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { background: var(--grad-brand); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.chat-head .avatar-dot { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.chat-head b { display: block; font-size: 1rem; }
.chat-head small { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #46e08a; display: inline-block; }
.chat-body { padding: 22px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: .95rem; line-height: 1.55; }
.bubble.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--ink); }
.bubble.user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-foot { padding: 14px 18px; background: #fff; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.chat-foot .fake-input { flex: 1; background: var(--bg-alt); border-radius: 50px; padding: 11px 18px; color: var(--muted); font-size: .92rem; }
.chat-foot .send { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; flex: none; }

.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lang-row span { background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 7px 16px; font-size: .88rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Publications (dissemination)
   ========================================================================== */
.pub-list { display: grid; gap: 14px; }
.pub {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pub:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #d4dcea; }
a.pub { color: inherit; text-decoration: none; }
a.pub:focus-visible { outline: 3px solid rgba(31,158,215,.45); outline-offset: 2px; }
.pub--soon { cursor: default; }
.pub--soon:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.pub .pub-action {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--bg-soft); color: var(--navy); transition: background .2s ease, color .2s ease;
}
a.pub:hover .pub-action { background: var(--grad-brand); color: #fff; }
.pub .pub-code {
  flex: none; font-family: var(--serif); font-weight: 700; color: #fff; background: var(--grad-brand);
  border-radius: 10px; padding: 10px 14px; min-width: 64px; text-align: center; font-size: 1rem;
}
.pub .pub-title { flex: 1; }
.pub .pub-title b { display: block; color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 1.02rem; }
.pub .pub-status { flex: none; font-size: .8rem; font-weight: 600; padding: 5px 13px; border-radius: 50px; letter-spacing: .02em; }
.pub .pub-status.available { background: #e3f6ec; color: #1c8a51; }
.pub .pub-status.forthcoming { background: #fef3e2; color: #b9821f; }

/* group label */
.group-label { font-family: var(--sans); font-weight: 700; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin: 8px 0 6px; }

/* ==========================================================================
   "Coming soon" placeholder
   ========================================================================== */
.coming-soon { text-align: center; max-width: 620px; margin: 0 auto; padding: 30px 0; }
.coming-soon .cs-icon { width: 96px; height: 96px; border-radius: 28px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin: 0 auto 28px; box-shadow: var(--shadow); }
.coming-soon .cs-icon svg { width: 46px; height: 46px; }
.coming-soon h2 { font-size: 2rem; margin-bottom: 14px; }
.coming-soon p { font-size: 1.1rem; margin-bottom: 26px; }

/* newsletter form */
.subscribe { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.subscribe input { flex: 1; border: 1px solid var(--line); border-radius: 50px; padding: 14px 22px; font-size: 1rem; font-family: var(--sans); color: var(--ink); }
.subscribe input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(31,158,215,.14); }

/* ==========================================================================
   Contact form (AI assistant page)
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 1rem;
  font-family: var(--sans); color: var(--ink); background: var(--bg-alt); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(31,158,215,.12); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ==========================================================================
   Legal notice highlight box
   ========================================================================== */
.notice-box { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 12px; padding: 22px 26px; }
.notice-box p { font-size: .92rem; color: var(--body); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-darker); color: rgba(255,255,255,.78); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 44px; }
.footer-brand .logo-card { background: #fff; border-radius: 16px; padding: 16px 20px; display: inline-block; box-shadow: var(--shadow); }
.footer-brand .logo-card img { height: 70px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: .92rem; color: rgba(255,255,255,.66); }
.footer-eu { margin-top: 22px; }
.footer-eu img { height: 56px; width: auto; }

.footer-social { margin-top: 24px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 9px 16px; border-radius: 50px; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); }
.footer-social svg { flex: none; width: 18px; height: 18px; }

.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 1rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.74); font-size: .94rem; }
.footer-col a:hover { color: #fff; }

.footer-facts { list-style: none; }
.footer-facts li { margin-bottom: 12px; font-size: .92rem; color: rgba(255,255,255,.74); }
.footer-facts li b { color: #fff; font-weight: 600; display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1px; }

.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0; }
.footer-legal p { font-size: .82rem; color: rgba(255,255,255,.56); line-height: 1.7; max-width: 1000px; }
.footer-legal a { color: rgba(255,255,255,.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.55); margin: 0; }
.footer-bottom .ga { font-size: .82rem; color: rgba(255,255,255,.7); }

/* ==========================================================================
   News & Events / Press releases (article list)
   ========================================================================== */
.article-list { display: grid; gap: 22px; max-width: 900px; margin-inline: auto; }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 4px solid var(--cyan); padding: 28px 30px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.article-date {
  font-family: var(--sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  font-size: .72rem; color: #fff; background: var(--grad-brand); padding: 5px 13px; border-radius: 50px;
}
.article-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); background: var(--bg-soft); padding: 5px 12px; border-radius: 50px;
}
.article h3 { font-family: var(--sans); font-size: 1.28rem; line-height: 1.3; margin-bottom: 10px; }
.article .article-summary { color: var(--body); font-size: 1.02rem; margin: 0; }

.article-more { margin-top: 14px; }
.article-more > summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .92rem; color: var(--blue); user-select: none;
}
.article-more > summary::-webkit-details-marker { display: none; }
.article-more > summary::after {
  content: "▾"; font-size: .8rem; transition: transform .25s ease;
}
.article-more[open] > summary::after { transform: rotate(180deg); }
.article-more > summary:hover { color: var(--navy); }
.article-body { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.article-body p { margin-bottom: 14px; font-size: .98rem; color: var(--body); }
.article-body p:last-child { margin-bottom: 0; }
.article-body .doc-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 4px;
}
.article-body .doc-link svg { flex: none; width: 16px; height: 16px; }

.section-heading { max-width: 900px; margin: 0 auto 26px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-heading .divider { margin: 14px 0 0; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-visual { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .avatar-hero { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s ease; z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-spine { left: 28px; }
  .journey-step { grid-template-columns: 56px 1fr; }
  .journey-node { grid-column: 1; }
  .journey-step:nth-child(odd) .journey-card,
  .journey-step:nth-child(even) .journey-card { grid-column: 2; text-align: left; }
  .cta-band { padding: 40px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-facts .fact { flex: 1 1 calc(50% - 14px); min-width: 0; }
  .subscribe { flex-direction: column; }
  .subscribe .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .partners-grid { grid-template-columns: 1fr; }
}
