:root{
  --brand:#298151;
  --bg:#ffffff;
  --text:#101316;
  --muted:#5b6670;
  --border:rgba(16,19,22,0.12);
  --shadow:0 12px 26px rgba(0,0,0,0.08);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial;
  background:var(--bg);
  color:var(--text);
}

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

.hero{width:100%}
.hero-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

.card{
  width:100%;
  max-width:520px;
  margin:14px auto 0;
  padding:18px 16px 16px;
}

.title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.2;
  color:var(--brand);
  font-weight:800;
}

/* AVISO ROJO, NEGRITA Y CENTRADO */
.notice{
  margin:0 0 10px;
  text-align:center;
  color:#c00000;
  font-weight:800;
  font-size:15px;
}

.desc{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.45;
  font-size:14.5px;
}

.form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin:0 0 6px;
  color:#0f1512;
}

.field input{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 12px;
  font-size:16px;
  outline:none;
  background:#fff;
}

.field input:focus{
  border-color:rgba(41,129,81,0.55);
  box-shadow:0 0 0 4px rgba(41,129,81,0.12);
}

.error{
  min-height:18px;
  margin-top:6px;
  font-size:12.5px;
  color:#b00020;
}

.btn{
  margin-top:4px;
  border:0;
  border-radius:14px;
  padding:13px 14px;
  font-size:16px;
  font-weight:800;
  background:var(--brand);
  color:#fff;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform 0.06s ease, filter 0.2s ease;
}

.btn:active{transform:translateY(1px)}
.btn:disabled{
  opacity:0.7;
  cursor:not-allowed;
  filter:saturate(0.7);
}

.status{
  min-height:18px;
  margin-top:6px;
  font-size:13.5px;
  color:var(--muted);
}

.status.ok{color:var(--brand); font-weight:700}
.status.bad{color:#b00020; font-weight:700}

.footer{
  margin-top:auto;
  padding:18px 16px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.logo{
  width:140px;
  height:auto;
  display:block;
  opacity:0.95;
}

.place{
  text-align:center;
  color:#1a1f24;
  font-weight:700;
}

@media (min-width:700px){
  .card{
    margin-top:18px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:22px 20px 18px;
  }
}
