:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line: rgba(15,23,42,.12);

  /* Dorado Ayconic vibe */
  --gold:#caa14a;
  --gold2:#e6c77a;

  --radius: 22px;
  --shadow: 0 18px 55px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

/* ===============================
   TOPBAR (LOGO CENTRADO)
================================ */
.topbar{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding: 22px 16px 10px;
  display:flex;
  align-items:center;
  justify-content:center; /* ✅ LOGO CENTRADO */
}

.logo{
  height: 52px; /* un poco más pro */
  width:auto;
  object-fit:contain;
  display:block;
  margin:0 auto;
}

/* Ocultamos acciones para look password real */
.top-actions{
  display:none;
}

/* ===============================
   HERO
================================ */
.hero{
  position:relative;
  flex:1;
  display:grid;
  place-items:center;
  padding: 10px 16px 34px;
  overflow:hidden;
}

.hero-inner{
  width:100%;
  max-width: 560px;
  text-align:center;
  position:relative;
  z-index:2;
}

/* ===============================
   BADGE
================================ */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border: 1px solid rgba(202,161,74,.30);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(202,161,74,.14),
    rgba(202,161,74,.04)
  );
  color: var(--text);
  font-weight: 700;
  font-size: 12.5px;
}

/* ===============================
   TITLES
================================ */
.title{
  margin: 18px 0 10px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.gold{
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.subtitle{
  margin: 0 auto 18px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ===============================
   PANEL
================================ */
.panel{
  text-align:left;
  margin: 14px auto 0;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-head h2{
  margin: 0;
  font-size: 16px;
  letter-spacing: .02em;
}

.panel-head p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ===============================
   FORM
================================ */
.form{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}

.lbl{
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,23,42,.75);
}

.field{
  display:flex;
  align-items:center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  gap: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field:focus-within{
  border-color: rgba(202,161,74,.50);
  box-shadow: 0 0 0 6px rgba(202,161,74,.10);
}

input{
  flex:1;
  border:none;
  outline:none;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--text);
}

.eye{
  border:none;
  background: rgba(15,23,42,.04);
  padding: 8px 10px;
  border-radius: 12px;
  cursor:pointer;
}

/* ===============================
   BUTTON
================================ */
.btn{
  margin-top: 2px;
  border:none;
  cursor:pointer;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  color: #0b1220;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.arrow{ font-weight: 900; }

/* ===============================
   EXTRA LINKS
================================ */
.hint{
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.mini-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 8px;
}

.mini{
  flex:1;
  min-width: 160px;
  text-decoration:none;
  color: var(--text);
  border: 1px dashed rgba(15,23,42,.18);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12.5px;
  text-align:center;
  transition: border-color .15s ease, transform .15s ease;
}

.mini:hover{
  transform: translateY(-1px);
  border-color: rgba(202,161,74,.45);
}

/* ===============================
   MESSAGES
================================ */
.msg{
  min-height: 18px;
  font-size: 12.5px;
  font-weight: 800;
  color: rgba(15,23,42,.72);
}

.msg.ok{ color: #0f766e; }
.msg.err{ color: #b91c1c; }

/* ===============================
   FOOTER
================================ */
.footer{
  margin-top: 16px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  color: rgba(15,23,42,.55);
  font-weight: 700;
  font-size: 12px;
}

.footer a{
  color: rgba(15,23,42,.65);
  text-decoration:none;
}
.footer a:hover{ text-decoration: underline; }
.dot{ opacity: .35; }

/* ===============================
   DECORATIVE SHAPES
================================ */
.shape{
  position:absolute;
  border-radius: 999px;
  opacity: .55;
  z-index: 1;
}

.shape-1{
  width: 420px;
  height: 420px;
  right: -160px;
  top: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(202,161,74,.20), transparent 62%);
}

.shape-2{
  width: 460px;
  height: 460px;
  left: -220px;
  bottom: -220px;
  background: radial-gradient(circle at 40% 40%, rgba(202,161,74,.14), transparent 62%);
}

/* ===============================
   GRAIN (LUXURY)
================================ */
.grain{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 520px){
  .panel{ padding: 16px; }
  .mini{ min-width: 140px; }
}

