@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --uk:#012169; --uk-l:#eef3ff; --gold:#c9a547;
  --bg:#f7f8fc; --card:#ffffff; --ink:#0f172a; --muted:#64748b; --line:#e5e7eb;
  --r:14px; --r-sm:10px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md:0 4px 6px -1px rgba(15,23,42,.08), 0 10px 24px -8px rgba(15,23,42,.12);
  --shadow-lg:0 20px 50px -12px rgba(1,33,105,.25);
}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--ink); background:var(--bg);
  line-height:1.6; font-size:15px; min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

/* Top bar */
.top-bar{
  background:var(--uk); color:#fff;
  padding:14px 24px; display:flex; align-items:center; gap:14px;
  position:sticky; top:0; z-index:50;
  box-shadow:0 2px 12px rgba(1,33,105,.15);
}
.top-bar a{color:#fff; text-decoration:none; font-size:14px; font-weight:500; opacity:.9; transition:opacity .15s}
.top-bar a:hover{opacity:1}
.top-bar .brand{display:flex; align-items:center; gap:10px; font-weight:700; font-size:15px; opacity:1}
.top-bar img{height:30px; width:30px; object-fit:contain; border-radius:6px; background:#fff; padding:3px}
.top-bar .spacer{flex:1}
.lang-toggle{display:inline-flex; align-items:center; gap:2px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:8px; padding:3px; font-size:12px; font-weight:600}
.lang-toggle button{background:transparent; border:none; color:rgba(255,255,255,.7); padding:5px 10px; border-radius:6px; cursor:pointer; font-family:inherit; font-size:12px; font-weight:600; transition:all .15s; letter-spacing:.04em}
.lang-toggle button:hover{color:#fff}
.lang-toggle button.active{background:#fff; color:var(--uk)}

/* i18n: show only the active language */
.lang-only-ro,.lang-only-en{display:none}
body[data-lang="ro"] .lang-only-ro{display:inline}
body[data-lang="en"] .lang-only-en{display:inline}
body[data-lang="ro"] .lang-block-ro,
body[data-lang="en"] .lang-block-en{display:block}
.lang-block-ro,.lang-block-en{display:none}

/* Hero */
.hero{
  background:linear-gradient(135deg, #012169 0%, #1a3a8f 60%, #2451b8 100%);
  color:#fff; padding:64px 24px 80px; text-align:center;
  position:relative; overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,165,71,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
  pointer-events:none;
}
.hero-inner{max-width:760px; margin:0 auto; position:relative}
.hero .eyebrow{
  display:inline-block; font-size:12px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--gold);
  background:rgba(201,165,71,.12); padding:6px 14px; border-radius:999px;
  margin-bottom:18px; border:1px solid rgba(201,165,71,.3);
}
.hero h1{
  font-family:'Playfair Display',serif; font-weight:700;
  font-size:clamp(32px, 5vw, 48px); line-height:1.15;
  margin-bottom:14px; letter-spacing:-.02em;
}
.hero p{font-size:17px; color:rgba(255,255,255,.85); max-width:560px; margin:0 auto; line-height:1.55}

/* Layout */
.container{
  max-width:1080px; margin:-40px auto 0; padding:0 24px 80px;
  position:relative; z-index:1;
}
.grid{
  display:grid; grid-template-columns:1.4fr 1fr; gap:24px;
  align-items:start;
}
@media (max-width:780px){ .grid{grid-template-columns:1fr} }

/* Card */
.card{
  background:var(--card); border-radius:var(--r);
  box-shadow:var(--shadow-md); padding:36px;
  border:1px solid rgba(15,23,42,.04);
}
.card h2{
  font-family:'Playfair Display',serif; font-size:24px; font-weight:700;
  color:var(--ink); margin-bottom:6px; letter-spacing:-.01em;
}
.card .lead{font-size:14px; color:var(--muted); margin-bottom:24px}

/* Form */
form{display:flex; flex-direction:column; gap:16px}
.row{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width:520px){ .row{grid-template-columns:1fr} }
.field{display:flex; flex-direction:column; gap:6px}
label{
  font-size:13px; font-weight:600; color:var(--ink);
  display:flex; align-items:center; gap:6px;
}
label .req{color:#dc2626; font-weight:700}
input, textarea, select{
  font-family:inherit; font-size:15px; color:var(--ink);
  padding:12px 14px; border:1.5px solid var(--line); border-radius:var(--r-sm);
  background:#fff; transition:border-color .15s, box-shadow .15s, background .15s;
  width:100%;
}
input:hover, textarea:hover, select:hover{border-color:#cbd5e1}
input:focus, textarea:focus, select:focus{
  outline:none; border-color:var(--uk);
  box-shadow:0 0 0 3px rgba(1,33,105,.12);
}
textarea{resize:vertical; min-height:140px; line-height:1.6}
.hint{font-size:12px; color:var(--muted); margin-top:2px}

/* Honeypot - hidden from users, visible to bots */
.hp-wrap{position:absolute; left:-9999px; top:-9999px; height:0; overflow:hidden}

/* Submit */
.btn{
  font-family:inherit; font-size:15px; font-weight:600;
  padding:14px 28px; border:none; border-radius:var(--r-sm); cursor:pointer;
  background:var(--uk); color:#fff;
  transition:transform .15s, box-shadow .15s, background .15s;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  box-shadow:0 4px 12px rgba(1,33,105,.25);
}
.btn:hover{background:#021d5c; transform:translateY(-1px); box-shadow:0 6px 18px rgba(1,33,105,.35)}
.btn:active{transform:translateY(0)}
.btn:disabled{opacity:.6; cursor:not-allowed; transform:none}
.btn .spinner{
  width:16px; height:16px; border:2px solid rgba(255,255,255,.3);
  border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite;
  display:none;
}
.btn.loading .spinner{display:inline-block}
.btn.loading .label{opacity:.7}
@keyframes spin{to{transform:rotate(360deg)}}

/* Status */
.status{
  margin-top:16px; padding:14px 18px; border-radius:var(--r-sm);
  font-size:14px; font-weight:500; display:none; line-height:1.5;
}
.status.ok{display:block; background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0}
.status.err{display:block; background:#fef2f2; color:#991b1b; border:1px solid #fecaca}

/* Side info */
.info-card{
  background:linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
  border-radius:var(--r); padding:32px;
  border:1px solid rgba(1,33,105,.08); box-shadow:var(--shadow-sm);
}
.info-card h3{
  font-family:'Playfair Display',serif; font-size:20px; font-weight:700;
  color:var(--uk); margin-bottom:16px;
}
.info-list{list-style:none; padding:0; display:flex; flex-direction:column; gap:18px}
.info-item{display:flex; gap:14px; align-items:flex-start}
.info-icon{
  width:42px; height:42px; border-radius:10px; flex-shrink:0;
  background:rgba(1,33,105,.08); color:var(--uk);
  display:flex; align-items:center; justify-content:center;
}
.info-icon svg{width:20px; height:20px; stroke:currentColor; stroke-width:1.75; fill:none; stroke-linecap:round; stroke-linejoin:round}
.info-text{flex:1; min-width:0}
.info-text strong{display:block; font-size:14px; color:var(--ink); margin-bottom:2px}
.info-text a, .info-text span{font-size:13px; color:var(--muted); word-break:break-word; text-decoration:none}
.info-text a:hover{color:var(--uk); text-decoration:underline}

/* Trust badges */
.trust{
  margin-top:24px; padding:18px; background:#fffbf0;
  border:1px solid #fde68a; border-radius:var(--r-sm);
  font-size:13px; color:#78350f; line-height:1.55;
}
.trust strong{color:#92400e}

/* Footer */
footer{
  background:var(--uk); color:rgba(255,255,255,.92);
  padding:24px 20px; font-size:13px; line-height:1.7;
  margin-top:60px; text-align:center;
}
footer a{color:#fff; text-decoration:underline}
footer p{margin-bottom:4px}
