:root{
  --bg: #070606;
  --card: rgba(12,10,9,.86);
  --glass: rgba(255,255,255,.03);
  --border: rgba(200,165,122,.18);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);

  /* 🎨 Café temático */
  --accent1: #c8a57a;   /* dorado/café claro */
  --accent2: #8b5e3c;   /* café medio */
  --gold:   #c8a57a;

  --shadow: 0 18px 60px rgba(0,0,0,.65);
}

*{ box-sizing: border-box; font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial; }
html,body{ height:100%; margin:0; }
body{
  color: var(--text);
  background:
    radial-gradient(1200px 650px at 80% -20%, rgba(200,165,122,.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(139,94,60,.16), transparent 60%),
    var(--bg);
}

/* Layout */
.shell{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.left{
  position:relative;
  overflow:hidden;

  background:
    linear-gradient(180deg, rgba(7,6,6,.55), rgba(7,6,6,.92)),
    url("/img/logo-jolly.jpg");  /* ← ESTE es el nombre correcto */

  background-size: cover;
  background-position: center;
}



.left::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(760px 520px at 25% 35%, rgba(200,165,122,.22), transparent 60%),
    radial-gradient(900px 620px at 70% 25%, rgba(139,94,60,.16), transparent 60%);
  opacity:1;
  pointer-events:none;
}

.left-overlay{
  position:relative;
  height:100%;
  display:flex;
  align-items:flex-end;
  padding: clamp(20px, 4vw, 52px);
}

.welcome{
  max-width: 560px;
}

.brand-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(200,165,122,.22);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.82);
  font-weight:700;
  font-size:12px;
  letter-spacing:.35px;
  margin-bottom: 14px;
}

.welcome h1{
  margin:0;
  font-size: clamp(34px, 3.6vw, 54px);
  letter-spacing: -0.02em;
  line-height:1.06;
}

.welcome p{
  margin: 14px 0 0;
  font-size: 15px;
  color: rgba(255,255,255,.74);
  line-height:1.55;
}

.bullets{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  margin-top: 18px;
}

.b{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(200,165,122,.16);
  background: rgba(0,0,0,.22);
  padding: 8px 10px;
  border-radius: 12px;
}

/* Right / Card */
.right{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px;
}

.right::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(650px 480px at 50% 10%, rgba(200,165,122,.12), transparent 60%);
  pointer-events:none;
}

.card{
  position:relative;
  width:min(440px, 92vw);
  padding: 30px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(200,165,122,.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset;
}

.card-head .kicker{
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.58);
  font-weight:800;
}

.card-head h2{
  margin: 10px 0 6px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.card-head .sub{
  margin: 0 0 16px;
  color: rgba(255,255,255,.66);
  font-size: 13px;
}

/* Form */
.form{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.field span{
  display:block;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-weight:700;
}

.input-wrap{ position:relative; }

.icon{
  position:absolute;
  left:12px;
  top:50%;
  transform: translateY(-50%);
  opacity:.75;
  font-size: 14px;
}

.field input{
  width:100%;
  height:48px;
  padding: 0 14px 0 38px;
  border-radius: 12px;
  border: 1px solid rgba(200,165,122,.18);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input::placeholder{ color: rgba(255,255,255,.38); }

.field input:focus{
  border-color: rgba(200,165,122,.85);
  box-shadow: 0 0 0 3px rgba(200,165,122,.18);
  background: rgba(255,255,255,.045);
}

/* Button - café premium */
.btn{
  margin-top: 6px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(200,165,122,.22);
  cursor: pointer;
  color: #120e0b;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(200,165,122,.18);
  filter: brightness(1.03);
}

.btn:active{ transform: translateY(0px); }

.btn-spin{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(18,14,11,.25);
  border-top-color: rgba(18,14,11,.85);
  display:none;
  animation: spin .7s linear infinite;
}

.btn.loading{ opacity: .95; cursor: default; }
.btn.loading .btn-spin{ display:inline-block; }

@keyframes spin{ to{ transform: rotate(360deg); } }

/* Toast */
.toast{
  min-height: 18px;
  font-size: 12px;
  color: rgba(255,120,120,.95);
  font-weight: 700;
}

/* Foot */
.foot{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.dot{ color: rgba(200,165,122,.95); }

/* Responsive */
@media (max-width: 980px){
  .shell{ grid-template-columns: 1fr; }
  .left{ min-height: 40vh; }
  .right{ padding: 20px; }
}
