/* ============================================================
   Financial Licensor — Main Stylesheet
   ============================================================ */

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

:root {
  --eu-blue:       #003399;
  --primary:       #1a3a6b;
  --primary-light: #2a5298;
  --white:         #ffffff;
  --gray-50:       #f8f9fa;
  --gray-100:      #f1f3f5;
  --gray-200:      #e9ecef;
  --gray-300:      #dee2e6;
  --gray-400:      #ced4da;
  --gray-500:      #adb5bd;
  --gray-600:      #6c757d;
  --gray-700:      #495057;
  --gray-800:      #343a40;
  --gray-900:      #212529;
  --success-bg:    #d4edda;
  --success-fg:    #155724;
  --danger-bg:     #f8d7da;
  --danger-fg:     #721c24;
  --warning-bg:    #fff3cd;
  --warning-fg:    #856404;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --radius: 3px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.10);
  --shadow-md: 0 4px 10px rgba(0,0,0,.08);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
body > .eu-topbar, body > header, body > .page-header, body > .verify-strip { flex-shrink: 0; }
body > footer { flex-shrink: 0; margin-top: auto; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---- EU Topbar ---- */
.eu-topbar {
  background: var(--eu-blue);
  color: var(--white);
  font-size: .755rem;
  padding: 6px 0;
  line-height: 1;
}
.eu-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eu-topbar-left { display: flex; align-items: center; gap: 9px; min-width: 0; }
.eu-flag-img { height: 16px; width: auto; border: 1px solid rgba(255,255,255,.25); flex-shrink: 0; display: block; }
.eu-label { opacity: .85; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eu-topbar-right { display: flex; align-items: center; gap: 9px; flex-shrink: 0; white-space: nowrap; }
.eu-topbar-right a { color: rgba(255,255,255,.75); font-size: .73rem; }
.eu-topbar-right a:hover { color: var(--white); text-decoration: underline; }
.eu-topbar-right .eu-dot { opacity: .4; }

/* ---- Site Header ---- */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--eu-blue);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 14px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-flag { height: 38px; width: auto; border: 1px solid var(--gray-200); flex-shrink: 0; border-radius: 1px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 1rem; color: var(--gray-900); letter-spacing: -.2px; }
.logo-tagline { font-size: .67rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }

/* Navigation */
.site-nav { display: flex; align-items: center; flex: 1; margin-left: 6px; overflow: hidden; }
.site-nav a {
  color: var(--gray-700);
  font-size: .835rem;
  font-weight: 500;
  padding: 22px 11px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .12s, border-color .12s;
  flex-shrink: 0;
}
.site-nav a:hover, .site-nav a.active { color: var(--eu-blue); border-bottom-color: var(--eu-blue); text-decoration: none; }

/* Language selector */
.lang-selector { margin-left: auto; flex-shrink: 0; }
.lang-selector select {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 6px 6px 6px 8px;
  font-size: .78rem;
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
  min-height: 34px;
}
.lang-selector select:focus { border-color: var(--primary-light); box-shadow: 0 0 0 2px rgba(26,58,107,.15); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  padding: 8px 9px;
  border-radius: var(--radius);
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--gray-700); }

/* ---- Hero ---- */
.hero { background: var(--primary); color: var(--white); padding: 68px 0 76px; }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 5px 13px; border-radius: 20px;
  font-size: .73rem; letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-badge img { height: 14px; width: auto; opacity: .85; }
.hero h1 { font-size: 2.1rem; font-weight: 700; line-height: 1.25; margin-bottom: 18px; letter-spacing: -.4px; }
.hero p { font-size: 1rem; opacity: .87; margin-bottom: 34px; max-width: 540px; line-height: 1.68; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: .88rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; text-decoration: none;
  border: 2px solid transparent;
  transition: background .12s, color .12s, border-color .12s;
  white-space: nowrap;
  min-height: 42px;
}
.btn:hover { text-decoration: none; }
.btn-primary   { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-primary:hover { background: var(--gray-100); border-color: var(--gray-100); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-blue   { background: var(--eu-blue); color: var(--white); border-color: var(--eu-blue); }
.btn-blue:hover { background: var(--primary); border-color: var(--primary); }
.btn-outline { background: transparent; color: var(--eu-blue); border-color: var(--eu-blue); }
.btn-outline:hover { background: var(--eu-blue); color: var(--white); }
.btn-ghost  { background: transparent; color: var(--gray-600); border-color: var(--gray-300); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }
.btn-lg { padding: 12px 30px; font-size: .95rem; }
.btn-sm { padding: 7px 15px; font-size: .8rem; min-height: 34px; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--gray-900); color: var(--white); padding: 16px 0; }
.stats-bar .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 10px; }
.stat-num { font-weight: 700; font-size: 1.15rem; color: #7eb8ff; }
.stat-label { opacity: .7; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.stat-sep { width: 1px; height: 26px; background: rgba(255,255,255,.13); }

/* ---- Sections ---- */
section { padding: 68px 0; }
.section-header { margin-bottom: 44px; }
.section-header.centered { text-align: center; max-width: 540px; margin: 0 auto 44px; }
.section-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--eu-blue); margin-bottom: 9px; }
.section-title { font-size: 1.65rem; font-weight: 700; color: var(--gray-900); letter-spacing: -.3px; margin-bottom: 10px; }
.section-subtitle { font-size: .95rem; color: var(--gray-600); line-height: 1.65; }

/* ---- Services ---- */
.services-section { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 24px 24px 20px 20px; display: flex; gap: 16px; box-shadow: var(--shadow);
}
.service-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.service-icon.inv { background: #e8f0fe; color: #1967d2; }
.service-icon.bro { background: #e6f4ea; color: #188038; }
.service-icon.ban { background: #fce8e6; color: #c5221f; }
.service-icon.oth { background: #fff3cd; color: #e37400; }
.service-body h3 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 7px; }
.service-body p { font-size: .855rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 11px; }
.service-link { font-size: .8rem; font-weight: 600; color: var(--primary-light); display: inline-flex; align-items: center; gap: 4px; }
.service-link:hover { text-decoration: underline; }

/* ---- Process Steps ---- */
.process-section { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-item { counter-increment: step; }
.step-item::before {
  content: counter(step);
  width: 34px; height: 34px;
  background: var(--eu-blue); color: var(--white);
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 15px;
}
.step-item h4 { font-size: .9rem; font-weight: 700; color: var(--gray-900); margin-bottom: 7px; }
.step-item p { font-size: .835rem; color: var(--gray-600); line-height: 1.6; }
.process-cta { text-align: center; margin-top: 40px; }

/* ---- Verify Strip ---- */
.verify-strip { background: var(--eu-blue); color: var(--white); padding: 46px 0; }
.verify-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.verify-strip-text h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 5px; }
.verify-strip-text p { font-size: .855rem; opacity: .8; }
.verify-inline { display: flex; gap: 8px; flex-shrink: 0; }
.verify-inline input {
  padding: 9px 15px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.10); color: var(--white);
  border-radius: var(--radius); font-size: .88rem; font-family: var(--font);
  width: 260px; outline: none; min-height: 42px;
}
.verify-inline input::placeholder { color: rgba(255,255,255,.5); }
.verify-inline input:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.15); }

/* ---- Contact ---- */
.contact-section { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-dl dt { font-weight: 700; font-size: .77rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-600); margin-top: 18px; margin-bottom: 3px; }
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd { color: var(--gray-800); font-size: .93rem; line-height: 1.6; }
.contact-map-placeholder {
  background: var(--gray-200); border: 1px solid var(--gray-300);
  border-radius: var(--radius); height: 240px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; color: var(--gray-500); font-size: .85rem;
}
.contact-map-placeholder svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .logo-name { color: var(--white); font-size: .96rem; }
.footer-brand .logo-tagline { color: var(--gray-500); }
.footer-brand .logo-flag { border-color: rgba(255,255,255,.15); height: 32px; }
.footer-brand p { margin-top: 14px; font-size: .83rem; line-height: 1.65; color: var(--gray-500); max-width: 270px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; color: var(--gray-300); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--gray-500); font-size: .855rem; }
.footer-col ul li a:hover { color: var(--gray-200); text-decoration: none; }
.footer-eu-links { border-top: 1px solid var(--gray-700); padding-top: 20px; margin-bottom: 20px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-eu-links a { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--gray-500); }
.footer-eu-links a:hover { color: var(--gray-200); text-decoration: none; }
.footer-eu-links a svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer-eu-label { font-size: .72rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: .5px; margin-right: 4px; }
.footer-bottom { border-top: 1px solid var(--gray-700); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .78rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--gray-500); font-size: .78rem; }
.footer-legal a:hover { color: var(--gray-300); }

/* ---- Page Header (inner pages) ---- */
.page-header { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 30px 0; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--gray-500); margin-bottom: 9px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-400); }
.page-title { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); letter-spacing: -.3px; }
.page-subtitle { font-size: .95rem; color: var(--gray-600); margin-top: 7px; }

/* ---- Apply Form ---- */
.form-section { padding: 52px 0; }
.form-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.form-card-head { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 18px 26px; }
.form-card-head h2 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.form-card-head p { font-size: .8rem; color: var(--gray-500); }
.form-card-body { padding: 26px; }

/* Steps indicator */
.steps-indicator { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.step-tab {
  padding: 11px 16px; font-size: .79rem; font-weight: 600; color: var(--gray-500);
  cursor: default; border-bottom: 2px solid transparent; margin-bottom: -2px;
  white-space: nowrap; display: flex; align-items: center; gap: 7px; user-select: none;
  flex-shrink: 0;
}
.step-tab.active { color: var(--eu-blue); border-bottom-color: var(--eu-blue); }
.step-tab.done   { color: var(--success-fg); border-bottom-color: var(--success-fg); }
.step-num {
  width: 20px; height: 20px; border-radius: 50%; background: var(--gray-200);
  color: var(--gray-600); font-size: .7rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-tab.active .step-num { background: var(--eu-blue); color: var(--white); }
.step-tab.done   .step-num { background: var(--success-fg); color: var(--white); }

/* Form step panels */
.form-step { display: none; }
.form-step.active { display: block; }

/* Fields */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 5px; }
.form-label .req { color: #c0392b; margin-left: 2px; }
.form-control {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: .88rem; font-family: var(--font); color: var(--gray-900); background: var(--white);
  outline: none; transition: border-color .12s, box-shadow .12s;
  min-height: 42px;
}
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(26,82,152,.10); }
.form-control.error { border-color: #c0392b; }
select.form-control { appearance: auto; cursor: pointer; }
textarea.form-control { min-height: 96px; resize: vertical; }
.form-hint { font-size: .76rem; color: var(--gray-500); margin-top: 3px; }
.form-error-msg { font-size: .76rem; color: #c0392b; margin-top: 3px; display: none; }
.form-control.error ~ .form-error-msg { display: block; }

/* Radio / Checkbox */
.radio-group, .check-group { display: flex; flex-direction: column; gap: 7px; }
.radio-group.inline, .check-group.inline { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
.option-label { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; color: var(--gray-800); cursor: pointer; }
.option-label input { cursor: pointer; accent-color: var(--eu-blue); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

/* File upload zone */
.upload-zone {
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; cursor: pointer;
  transition: border-color .12s, background .12s; display: block;
}
.upload-zone:hover { border-color: var(--primary-light); background: var(--gray-50); }
.upload-zone input { display: none; }
.upload-zone-icon { color: var(--gray-400); margin: 0 auto 8px; display: flex; justify-content: center; }
.upload-zone-icon svg { width: 28px; height: 28px; }
.upload-zone p { font-size: .855rem; color: var(--gray-600); margin-bottom: 3px; }
.upload-zone small { font-size: .76rem; color: var(--gray-500); }

/* Form actions */
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gray-200); gap: 12px; }

/* Sidebar info boxes */
.sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.info-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-box-head {
  background: var(--gray-50); padding: 11px 16px; border-bottom: 1px solid var(--gray-200);
  font-size: .775rem; font-weight: 700; color: var(--gray-700); text-transform: uppercase; letter-spacing: .5px;
  display: flex; align-items: center; gap: 7px;
}
.info-box-head svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--gray-500); }
.info-box-body { padding: 14px 16px; }
.info-box-body ul { list-style: none; }
.info-box-body ul li { font-size: .855rem; color: var(--gray-600); padding: 5px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.info-box-body ul li:last-child { border-bottom: none; padding-bottom: 0; }
.info-box-body ul li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gray-400); }
.info-box-body p { font-size: .855rem; color: var(--gray-600); line-height: 1.6; }
.info-box-body p + p { margin-top: 8px; }

/* Alert */
.alert { padding: 12px 15px; border-radius: var(--radius); font-size: .855rem; margin-bottom: 18px; display: flex; gap: 9px; align-items: flex-start; }
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-info    { background: #cfe2ff; color: #084298; border: 1px solid #b6d4fe; }
.alert-success { background: #d1e7dd; color: #0a3622; border: 1px solid #a3cfbb; }
.alert-warning { background: var(--warning-bg); color: var(--warning-fg); border: 1px solid #ffecb5; }

/* ---- Verify Page ---- */
.verify-page { padding: 52px 0; flex: 1; }
.verify-center { max-width: 720px; margin: 0 auto; }
.verify-form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-md); margin-bottom: 28px; }
.verify-field { display: flex; flex-direction: column; gap: 6px; }
.verify-label { font-size: .875rem; font-weight: 600; color: var(--gray-800); }
.verify-hint { font-size: .78rem; color: var(--gray-500); }
.verify-info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.verify-result { display: none; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.verify-result.show { display: block; }
.verify-result-head { padding: 13px 18px; display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .88rem; }
.verify-result-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.verify-result-head.valid   { background: var(--success-bg); color: var(--success-fg); border-bottom: 1px solid #c3e6cb; }
.verify-result-head.invalid { background: var(--danger-bg); color: var(--danger-fg); border-bottom: 1px solid #f5c6cb; }
.verify-result-head.warning { background: var(--warning-bg); color: var(--warning-fg); border-bottom: 1px solid #ffeeba; }
.verify-result-body { padding: 20px; background: var(--white); }
.result-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.result-table tr { border-bottom: 1px solid var(--gray-100); }
.result-table tr:last-child { border-bottom: none; }
.result-table td:first-child { font-weight: 600; color: var(--gray-500); padding: 8px 16px 8px 0; width: 42%; font-size: .77rem; text-transform: uppercase; letter-spacing: .3px; }
.result-table td:last-child { padding: 8px 0; color: var(--gray-900); }

.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 12px; font-size: .76rem; font-weight: 700; }
.status-active    { background: var(--success-bg); color: var(--success-fg); }
.status-suspended { background: var(--warning-bg); color: var(--warning-fg); }
.status-revoked   { background: var(--danger-bg);  color: var(--danger-fg); }

/* Status dots for sample list */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-dot.active    { background: var(--success-fg); }
.status-dot.suspended { background: var(--warning-fg); }
.status-dot.revoked   { background: var(--danger-fg); }
.status-dot.notfound  { background: var(--gray-400); }

/* ---- Data Table (registry) ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.data-table th {
  background: var(--gray-50); border-bottom: 2px solid var(--gray-200);
  padding: 10px 14px; text-align: left;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--gray-600); white-space: nowrap;
}
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--gray-50); }
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--gray-200); border-radius: var(--radius); }

/* ---- About Page ---- */
.about-layout { display: grid; grid-template-columns: 1fr 264px; gap: 40px; align-items: start; }
.about-layout > * { min-width: 0; }
.about-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin: 32px 0 10px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--gray-700); font-size: .93rem; line-height: 1.72; margin-bottom: 13px; }
.about-content ul { margin: 10px 0 14px 18px; }
.about-content ul li { color: var(--gray-700); font-size: .93rem; line-height: 1.72; margin-bottom: 3px; }
.directive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; list-style: none; margin-left: 0; }
.directive-grid li { background: var(--gray-50); border: 1px solid var(--gray-200); border-left: 3px solid var(--eu-blue); padding: 10px 13px; border-radius: var(--radius); }
.directive-grid li strong { display: block; font-size: .85rem; color: var(--gray-900); margin-bottom: 2px; }
.directive-grid li span { font-size: .79rem; color: var(--gray-500); }

/* ---- Success screen ---- */
.success-screen { display: none; text-align: center; padding: 48px 32px; }
.success-screen.show { display: block; }
.success-icon { margin-bottom: 18px; display: flex; justify-content: center; color: var(--success-fg); }
.success-icon svg { width: 56px; height: 56px; }
.success-screen h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.success-screen p { font-size: .93rem; color: var(--gray-600); margin-bottom: 6px; }
.ref-number { display: inline-block; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 8px 20px; font-family: monospace; font-size: 1rem; font-weight: 700; color: var(--eu-blue); margin: 16px 0; }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--white); border-top: 2px solid var(--eu-blue);
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
  transform: translateY(100%);
  transition: transform .22s ease;
  display: none;
}
.cookie-banner.show { display: block; transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-text { font-size: .855rem; color: var(--gray-700); line-height: 1.55; display: flex; gap: 9px; align-items: flex-start; flex: 1; min-width: 0; }
.cookie-text svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--eu-blue); }
.cookie-text a { color: var(--primary-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---- Privacy Page ---- */
.privacy-content { padding: 48px 0 64px; }
.privacy-layout { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.privacy-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin: 36px 0 10px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.privacy-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.privacy-content h3 { font-size: .95rem; font-weight: 700; color: var(--gray-800); margin: 22px 0 8px; }
.privacy-content p { color: var(--gray-700); font-size: .9rem; line-height: 1.75; margin-bottom: 12px; }
.privacy-content ul, .privacy-content ol { margin: 8px 0 14px 20px; }
.privacy-content li { color: var(--gray-700); font-size: .9rem; line-height: 1.72; margin-bottom: 5px; }
.privacy-sidebar { position: sticky; top: 90px; }
.privacy-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--gray-500); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.privacy-meta svg { width: 15px; height: 15px; flex-shrink: 0; }
.privacy-date { font-size: .8rem; color: var(--gray-500); margin-top: 4px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .site-nav a { padding: 22px 9px; font-size: .81rem; }
}

@media (max-width: 860px) {
  .eu-topbar-right { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .site-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    flex-direction: column; padding: 4px 0 8px; box-shadow: var(--shadow-md); z-index: 199;
    overflow: visible;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 12px 20px; border-bottom: none; border-left: 3px solid transparent;
    width: 100%; font-size: .875rem;
  }
  .site-nav a:hover, .site-nav a.active { border-left-color: var(--eu-blue); border-bottom: none; background: var(--gray-50); }
  .menu-toggle { display: flex; }
  .lang-selector { margin-left: 0; flex-shrink: 0; }
  .lang-selector select { font-size: .73rem; padding: 5px; max-width: 110px; }

  /* Header logo: shrink gracefully */
  .header-inner { gap: 8px; padding: 0 16px; }
  .logo { min-width: 0; gap: 7px; }
  .logo-flag { height: 28px; }
  .logo-name { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-tagline { display: none; }

  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: .93rem; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .directive-grid { grid-template-columns: 1fr; }
  .verify-strip .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .verify-inline { flex-direction: column; width: 100%; }
  .verify-inline input { width: 100%; }
  .stats-bar .container { gap: 18px; justify-content: flex-start; }
  .stat-sep { display: none; }
  .form-section { padding: 32px 0; }
  .section-title { font-size: 1.4rem; }
  .hero-badge { font-size: .7rem; }
  .about-layout > aside { order: -1; }
  .footer-eu-links { gap: 12px; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-sidebar { position: static; }
  .verify-info-row { grid-template-columns: 1fr; }
  .verify-form-card { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-tab { font-size: .73rem; padding: 9px 9px; }
  .verify-input-row { flex-direction: column; }
  .verify-input-row input, .verify-input-row .btn { width: 100%; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  .section-header.centered { text-align: left; }
  .form-actions { flex-wrap: wrap; gap: 10px; }
}

@media print {
  .site-header, .eu-topbar, .site-footer, .verify-strip, .hero-actions, .process-cta, .cookie-banner { display: none; }
}
