
:root{
  --bg1:#070b14;
  --bg2:#0b1a3a;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:radial-gradient(1200px 700px at 20% 15%,var(--bg2),var(--bg1));
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:28px 16px;
  gap:18px;
}

.hero{text-align:center}
.hero-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.logo-top{
  height:42px;
  opacity:.9;
}
h1{
  margin:0;
  font-size:clamp(28px,4vw,44px);
}
.subtitle{color:var(--muted)}

.card{
  width:min(980px,95vw);
  padding:16px;
  border-radius:18px;
  background:var(--card);
  border:1px solid var(--border);
}

.jsm-404-slider{
  position:relative;
  max-width:720px;
  margin:0 auto;
  aspect-ratio:4/3;
  background:rgba(0,0,0,.25);
  border-radius:14px;
  overflow:hidden;
}

.jsm-404-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:16px;
  opacity:0;
  transition:opacity .7s;
}
.jsm-404-slide.is-active{opacity:1}

.jsm-404-dots{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.jsm-dot{
  width:10px;height:10px;border-radius:50%;
  border:0;background:#fff;opacity:.5;cursor:pointer;
}
.jsm-dot.is-active{opacity:1}

.actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:14px;
}
.btn{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:white;
  text-decoration:none;
}
.btn.primary{background:rgba(255,255,255,.18)}

.footer{opacity:.65;font-size:14px;margin-top:10px}


/* --- Contact form improvements (v4) --- */
form{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width: 860px;
  margin: 0 auto;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
@media (min-width: 720px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field label{
  font-weight:650;
  color: rgba(255,255,255,.88);
}
.field input, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(255,255,255,.35);
}

.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top: 6px;
}
.small-note{
  text-align:center;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  margin: 8px 0 0;
}
