/* ==========================================================================
   BELÉPÉS
   Ez az egyetlen belső oldal, amit kívülről is láthat valaki. A sötét fele
   a nyilvános oldal nyelvén beszél, a világos fele már a munkafelületé:
   a kapu az egyikből a másikba.
   ========================================================================== */

:root {
  --bl-ink:   #111111;
  --bl-milk:  #f4f1e8;
  --bl-green: #b8ff3c;
  --bl-rule:  rgba(244, 241, 232, .16);
}

.bl { margin: 0; background: var(--bl-ink); color: var(--bl-milk); overflow: hidden; }

.bl__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 100svh;
}
@media (max-width: 920px) {
  .bl { overflow: auto; }
  .bl__grid { grid-template-columns: 1fr; min-height: 0; }
}

/* ------------------------------------------------------------- bal oldal */
.bl__kep {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.6rem, 3.4vw, 3.2rem);
  isolation: isolate;
}
@media (max-width: 920px) { .bl__kep { min-height: 46svh; } }

.bl__kep picture, .bl__kep img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: -2;
}
.bl__kep img {
  filter: grayscale(.4) contrast(1.06) brightness(.62);
  animation: bl-lassu 36s var(--ease-in-out, ease-in-out) infinite alternate;
}
@keyframes bl-lassu { from { transform: scale(1.03); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .bl__kep img { animation: none; transform: scale(1.04); } }

.bl__fatyol {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.42) 52%, rgba(17,17,17,.66) 100%),
    radial-gradient(70% 60% at 18% 82%, rgba(184,255,60,.16), transparent 70%);
}

.bl__brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--bl-milk);
  text-decoration: none;
  justify-self: start;
  transition: color .3s cubic-bezier(.16,1,.3,1);
}
.bl__brand svg { width: 26px; height: 26px; }
.bl__brand span {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.bl__brand i { font-style: normal; font-size: .55em; vertical-align: super; opacity: .6; }
.bl__brand:hover { color: var(--bl-green); }

.bl__szoveg { align-self: center; max-width: 34ch; }

.bl__eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bl-green);
  margin: 0 0 1.4rem;
}
.bl__eyebrow span {
  width: 7px; height: 7px;
  background: var(--bl-green);
  transform: rotate(45deg);
  flex: none;
}

.bl__cim em { font-style: normal; color: var(--bl-green); }
.bl__cim {
  font-size: clamp(2.8rem, 7.4vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0;
  /* a hosszú magyar ékezetek kapjanak fejteret */
  padding-top: .08em;
}
.bl__lead {
  margin: 1.5rem 0 0;
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: rgba(244, 241, 232, .74);
  max-width: 31ch;
}
.bl__labl {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, .4);
}
@media (max-width: 920px) { .bl__labl { display: none; } }

/* ----------------------------------------------------------- jobb oldal */
.bl__panel {
  display: grid;
  place-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--bl-milk);
  color: var(--bl-ink);
}
.bl__doboz { width: min(380px, 100%); }

.bl__eyebrow--sotet { color: #6f9f12; }
.bl__eyebrow--sotet span { background: #6f9f12; }

.bl__panelcim {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
  padding-top: .06em;
}

.bl__urlap { margin-top: clamp(1.8rem, 4vw, 2.4rem); display: grid; gap: 1.1rem; }

.bl__mezo { display: grid; gap: .45rem; }
.bl__mezo label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b6b64;
}
.bl__mezo input {
  font-family: inherit;
  font-size: 1.02rem;
  color: var(--bl-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.22);
  padding: .6rem .1rem;
  min-height: 46px;
  transition: border-color .3s cubic-bezier(.16,1,.3,1);
}
.bl__mezo input::placeholder { color: rgba(17,17,17,.3); }
.bl__mezo input:focus {
  outline: none;
  border-bottom-color: var(--bl-ink);
  box-shadow: 0 1px 0 0 var(--bl-green);
}

.bl__gomb {
  margin-top: .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.3rem;
  border: 0;
  background: var(--bl-ink);
  color: var(--bl-milk);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s cubic-bezier(.16,1,.3,1), transform .34s cubic-bezier(.16,1,.3,1);
}
.bl__gomb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bl-green);
  transform: translateY(101%);
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.bl__gomb:hover, .bl__gomb:focus-visible { color: var(--bl-ink); transform: scale(1.012); }
.bl__gomb:hover::before, .bl__gomb:focus-visible::before { transform: translateY(0); }
.bl__gomb:active { transform: scale(.996); }
.bl__gomb svg { width: 18px; height: 18px; flex: none; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.bl__gomb:hover svg { transform: translateX(5px); }

.bl__uzenet { margin: 0; padding: .7rem .85rem; font-size: .92rem; }
.bl__uzenet--hiba { border-left: 3px solid #c0392b; background: rgba(192,57,43,.08); }
.bl__uzenet--ok   { border-left: 3px solid #6f9f12; background: rgba(111,159,18,.1); }

.bl__figyelem {
  margin: 1.6rem 0 0;
  padding-left: .85rem;
  border-left: 3px solid #c0392b;
  font-size: .8rem;
  line-height: 1.5;
  color: #6b6b64;
}

.bl__vissza {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b6b64;
  text-decoration: none;
  transition: color .3s cubic-bezier(.16,1,.3,1);
}
.bl__vissza svg { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.bl__vissza:hover { color: var(--bl-ink); }
.bl__vissza:hover svg { transform: translateX(-4px); }

/* ------------------------------------------------------- jelszó mutatása */
.bl__jelszo { position: relative; display: grid; }
.bl__jelszo input { padding-right: 2.6rem; }
.bl__szem {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, .42);
  cursor: pointer;
  transition: color .25s cubic-bezier(.16,1,.3,1);
}
.bl__szem:hover, .bl__szem:focus-visible { color: var(--bl-ink); }
.bl__szem:focus-visible { outline: 2px solid var(--bl-green); outline-offset: 2px; }
.bl__szem svg { width: 19px; height: 19px; grid-area: 1 / 1; }
/* alapállapot: a nyitott szem látszik, a mutatott jelszónál az áthúzott */
.bl__szem .bl__szem-be { display: none; }
.bl__szem[aria-pressed="true"] .bl__szem-ki { display: none; }
.bl__szem[aria-pressed="true"] .bl__szem-be { display: block; }
.bl__szem[aria-pressed="true"] { color: var(--bl-ink); }
