:root{
  --guinness-blue:#062b4f;
  --guinness-gold:#c79b3b;
  --choco:#4e342e;
  --cream:#f7efe7;
  --danger-bg:#fff4f4;
  --danger-border:#d93025;
  --danger-text:#7a0000;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Segoe UI, Arial, sans-serif;
  color:#1f1f1f;
}

/* FONDO */

.page-bg{
  position:fixed;
  inset:0;
  background-image:url("https://images.unsplash.com/photo-1549007994-cb92caebd54b?q=80&w=1600&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  z-index:-3;
}

.overlay{
  position:fixed;
  inset:0;
  background:
    linear-gradient(135deg, rgba(6,43,79,0.92), rgba(59,36,22,0.84)),
    linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.42));
  z-index:-2;
}

/* CONTENEDOR */

.form-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 18px;
}

.form-card{
  width:100%;
  max-width:930px;
  background:rgba(247,239,231,0.96);
  padding:32px;
  border-radius:28px;
  box-shadow:0 20px 50px rgba(0,0,0,0.22);
  border:1px solid rgba(199,155,59,0.22);
  backdrop-filter:blur(4px);
}

/* LOGO */

.brand-top{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:8px;
  padding:10px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
}

.event-logo{
  width:100%;
  max-width:600px;
  height:auto;
  display:block;
  margin:auto;
  filter:drop-shadow(0px 10px 18px rgba(0,0,0,0.45));
}

/* HEADER */

.form-header{
  text-align:center;
  margin-bottom:20px;
  margin-top:0;
}

.badge{
  display:inline-block;
  background:linear-gradient(90deg,var(--guinness-blue),var(--choco));
  color:#fff;
  padding:8px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.3px;
  margin-bottom:14px;
}

.form-header h1{
  margin:0;
  font-size:42px;
  line-height:1.08;
  color:var(--guinness-blue);
}

.slogan{
  margin:14px 0 0;
  color:var(--guinness-gold);
  font-style:italic;
  font-weight:800;
  font-size:22px;
}

.intro-text{
  max-width:740px;
  margin:16px auto 0;
  font-size:17px;
  line-height:1.7;
  color:#3a342e;
}

/* INFO EVENTO */

.event-info{
display:flex;
justify-content:center;
gap:20px;
margin-top:22px;
flex-wrap:wrap;
}

.info-item{
background:white;
padding:10px 14px;
border-radius:10px;
border:1px solid rgba(199,155,59,0.6);
box-shadow:0 4px 10px rgba(0,0,0,0.08);
min-width:140px;
text-align:center;
}

.info-label{
display:block;
font-size:12px;
font-weight:700;
text-transform:uppercase;
letter-spacing:1px;
margin-bottom:4px;
color:var(--choco);
}

.info-value{
display:block;
font-size:16px;
font-weight:800;
color:var(--guinness-blue);
}

/* COSTO ligeramente destacado */

.event-info .info-item:nth-child(3){
background:#fff7e4;
border:1px solid var(--guinness-gold);
}

.event-info .info-item:nth-child(3) .info-value{
font-size:18px;
color:#8a5a00;
}

/* AVISO IMPORTANTE */

.important-note{
  margin-top:20px;
  padding:18px;
  border-radius:15px;
  background:var(--danger-bg);
  border:2px solid var(--danger-border);
  color:var(--danger-text);
  font-weight:600;
  text-align:left;
}

.important-note p{
  margin:0 0 8px;
  line-height:1.6;
}

.important-note p:last-child{
  margin-bottom:0;
}

/* FORMULARIO */

.registro-form{
  margin-top:10px;
}

.grid-form{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:25px;
}

.field{
  display:flex;
  flex-direction:column;
}

.field-full{
  grid-column:1/-1;
}

label{
  font-weight:700;
  margin-bottom:8px;
  color:var(--guinness-blue);
  font-size:14px;
}

input,
select{
  width:100%;
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(6,43,79,0.16);
  background:#fff;
  font-size:15px;
  outline:none;
  transition:.25s ease;
}

input:focus,
select:focus{
  border-color:var(--guinness-gold);
  box-shadow:0 0 0 4px rgba(199,155,59,0.12);
}

/* CONSENTIMIENTO */

.consent-box{
  margin-top:22px;
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(6,43,79,0.1);
  border-radius:16px;
  padding:16px;
}

.checkbox-wrap{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:#3b332d;
  line-height:1.6;
  font-weight:500;
}

.checkbox-wrap input{
  width:18px;
  height:18px;
  margin-top:3px;
  accent-color:var(--guinness-blue);
  flex-shrink:0;
}

/* BOTÓN */

.submit-btn{
  margin-top:22px;
  padding:16px;
  width:100%;
  border:none;
  border-radius:14px;
  font-weight:800;
  font-size:16px;
  color:#fff;
  background:linear-gradient(90deg,var(--guinness-blue),var(--choco),var(--guinness-gold));
  cursor:pointer;
  box-shadow:0 12px 24px rgba(6,43,79,0.18);
  transition:transform .2s ease, opacity .2s ease;
}

.submit-btn:hover{
  transform:translateY(-1px);
}

.submit-btn:disabled{
  opacity:.75;
  cursor:not-allowed;
}

/* MENSAJE */

.mensaje{
  text-align:center;
  margin-top:15px;
  font-weight:700;
  min-height:24px;
}

/* MOBILE */

@media (max-width:768px){

  .form-card{
    padding:22px 16px;
    border-radius:22px;
  }

  .form-header h1{
    font-size:31px;
  }

  .slogan{
    font-size:18px;
  }

  .intro-text{
    font-size:15px;
  }

  .event-info{
    grid-template-columns:1fr;
  }

  .event-info .info-item:nth-child(3){
    transform:none;
  }

  .grid-form{
    grid-template-columns:1fr;
  }

  .event-logo{
    width:90%;
  }

}
.payment-info{
margin-top:14px;
padding:12px 16px;
font-size:14px;
text-align:center;
color:#5a4a3a;
background:rgba(255,255,255,0.6);
border-radius:10px;
border:1px solid rgba(199,155,59,0.4);
font-style:italic;
}
.footer-fundacion{
margin-top:20px;
text-align:center;
display:flex;
flex-direction:column;
align-items:center;
}

.fundacion-texto{
font-size:14px;
color:#5c5147;
margin-bottom:6px;
font-style:italic;
}

.logo-fundacion{
max-width:120px;
height:auto;
}