*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
 
:root {
  --navy:   #07111C;
  --mid:    #0F2236;
  --card:   #152E47;
  --gold:   #C4963A;
  --gold2:  #DDB860;
  --steel:  #D8E6F2;
  --fog:    #7B9DB8;
  --mist:   #4A6A84;
  --pad: env(safe-area-inset-top, 0px);
  --padb: env(safe-area-inset-bottom, 0px);
}
 
html,body {
  height: 100%;
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--steel);
  overflow-x: hidden;
}
 
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: var(--pad);
  padding-bottom: var(--padb);
}
 
/* ---- LANG SWITCHER ---- */
.lang-bar {
  position: fixed;
  top: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  padding: calc(var(--pad) + 14px) 28px 14px;
  background: rgba(7,17,28,0.85);
  backdrop-filter: blur(10px);
  border-bottom-left-radius: 4px;
  border-left: 1px solid rgba(196,150,58,0.2);
  border-bottom: 1px solid rgba(196,150,58,0.2);
}
.lang-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  color: var(--fog);
  transition: color 0.2s;
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover { color: var(--gold2); }
.lang-sep { color: var(--mist); font-size: 12px; }
 
/* ---- MAIN LAYOUT ---- */
main {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  padding: 40px 24px 0;
  position: relative;
  overflow: hidden;
}
 
/* Background grid lines — blueprint feel */
main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,150,58,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,150,58,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
 
/* Radial glow center */
main::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: min(900px, 140vw);
  height: min(600px, 80vh);
  background: radial-gradient(ellipse,
    rgba(28,58,88,0.45) 0%,
    transparent 70%);
  pointer-events: none;
}
 
/* ---- CENTER CONTENT ---- */
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 80px 0 40px;
  gap: 0;
}
 
/* Compass SVG */
.logo-wrap {
  margin-bottom: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Fundalul auriu stă pe container, nu pe img */
  background: #C9A44A;
  border-radius: 16px;
  padding: 14px 16px 12px;
  border: 2px solid rgba(196,150,58,0.70);
  box-shadow:
    0 0 0 6px rgba(196,150,58,0.12),
    0 0 40px rgba(196,150,58,0.20);
}
.logo-seal {
  /* lățime fixă, înălțime auto — nu mai taie nimic */
  width: clamp(130px, 18vw, 178px);
  height: auto;
  display: block;
  /* multiply: albul JPEG-ului devine transparent → apare aurul din spate;
     elementele albastre ale siglei se îmbină cu aurul → navy închis */
  mix-blend-mode: multiply;
}
 
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(9px, 1.5vw, 11px);
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before,.eyebrow::after {
  content:'';
  display:inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
 
h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 10vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 4px;
}
h1 span {
  display: block;
  color: var(--gold);
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0.04em;
}
 
/* Waterline */
.wl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px auto;
  width: min(480px, 90vw);
}
.wl::before,.wl::after {
  content:'';
  flex:1;
  height:1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
}
.wl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.8;
}
 
/* Message box */
.msg {
  max-width: 560px;
  margin: 0 auto 36px;
}
.msg p {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel);
  opacity: 0.85;
}
 
/* i18n */
[data-lang="en"] [data-ro]  { display: none; }
[data-lang="ro"] [data-en]  { display: none; }
 
/* Progress bar */
.progress-wrap {
  width: min(380px, 90vw);
  margin: 0 auto 48px;
}
.progress-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mist);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(196,150,58,0.15);
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: progressScan 2.8s ease-in-out infinite;
}
@keyframes progressScan {
  0%   { left: -100%; }
  100% { left: 100%; }
}
 
/* ---- CONTACT GRID ---- */
.contact-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(196,150,58,0.25);
  background: rgba(7,17,28,0.96);
  backdrop-filter: blur(8px);
  padding: 36px 40px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  width: 100%;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(196,150,58,0.10);
}
/* Fiecare al treilea item nu are bordură dreaptă */
.contact-item:nth-child(3n) {
  border-right: none;
}
.contact-item-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.contact-item-value {
  font-size: 15px;
  color: #EBF3FA;
  line-height: 1.6;
}
.contact-item-value a {
  color: #EBF3FA;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item-value a:hover { color: var(--gold2); }
/* Linia a doua din adresă (cod poștal, oraș, țară) */
.contact-item-value .addr-line2 {
  display: block;
  color: #C8DDF0;
  font-size: 13px;
  margin-top: 2px;
}
 
/* ---- FOOTER ---- */
footer {
  border-top: 1px solid rgba(196,150,58,0.08);
  background: rgba(4,9,15,0.9);
  padding: 16px 24px calc(16px + var(--padb));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--mist);
  opacity: 0.5;
}
 
@media(max-width:720px){
  .contact-bar{
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
  }
  .contact-item:nth-child(3n)   { border-right: 1px solid rgba(196,150,58,0.10); }
  .contact-item:nth-child(2n)   { border-right: none; }
}
@media(max-width:480px){
  .contact-bar{ grid-template-columns: 1fr; padding: 24px 16px; }
  .contact-item { border-right: none !important; border-bottom: 1px solid rgba(196,150,58,0.08); padding-bottom: 16px; }
  .contact-item:last-child { border-bottom: none; }
  h1{font-size:clamp(38px,12vw,56px);}
}
