:root{
  --evt-azul:#0B4F6C;
  --evt-azul2:#07384C;
  --evt-turq:#53B8C1;
  --evt-txt:#172033;
  --evt-muted:#667085;
  --evt-border:#E4E7EC;
  --evt-bg:#F5F8FA;
  --evt-ok:#067647;
  --evt-bad:#B42318;
  --evt-warn:#B54708;
}
.native-events-slot{width:100%}
.native-events-loading,.native-events-empty,.native-events-error{
  padding:30px 22px;
  border:1px solid var(--evt-border);
  border-radius:16px;
  background:#fff;
  color:var(--evt-muted);
  text-align:center;
}
.native-events-error{color:var(--evt-bad)}
.native-events-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.native-event-card{
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--evt-border);
  border-radius:20px;
  box-shadow:0 10px 30px rgba(16,24,40,.06);
}
.native-event-cover{
  position:relative;
  width:100%;
  padding-top:56.25%;
  background:#EEF5F7 center/contain no-repeat;
  overflow:hidden;
}
.native-event-cover.logo{
  background-size:88px 88px;
}
.native-event-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px;
}
.native-event-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
  color:var(--evt-muted);
  font-size:12px;
  font-weight:700;
}
.native-event-category{
  display:inline-flex;
  max-width:100%;
  width:max-content;
  padding:6px 9px;
  border-radius:999px;
  background:#E8F4F8;
  color:var(--evt-azul);
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.native-event-card h3{
  margin:0 0 8px;
  color:var(--evt-azul);
  font-size:24px;
  line-height:1.12;
}
.native-event-desc{
  margin:0 0 14px;
  color:var(--evt-muted);
  font-size:14px;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.native-event-facts{
  display:grid;
  gap:7px;
  margin-bottom:15px;
  font-size:13px;
}
.native-event-facts div{display:flex;gap:9px}
.native-event-facts strong{
  min-width:50px;
  color:#475467;
}
.native-event-prices{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:auto;
}
.native-event-price{
  padding:11px;
  border:1px solid var(--evt-border);
  border-radius:12px;
  background:#F8FAFC;
}
.native-event-price.socio{
  background:#ECFDF3;
  border-color:#ABEFC6;
}
.native-event-price span{
  display:block;
  color:var(--evt-muted);
  font-size:11px;
}
.native-event-price strong{
  display:block;
  margin-top:3px;
  color:var(--evt-azul);
  font-size:18px;
}
.native-event-price.socio strong{color:var(--evt-ok)}
.native-event-btn{
  width:100%;
  margin-top:14px;
  text-decoration:none;
}
.native-event-closed{
  margin-top:10px;
  color:var(--evt-warn);
  font-size:12px;
  font-weight:800;
}

/* detalle */
.native-event-detail{padding:2px 0 18px}
.native-event-back{
  display:inline-flex;
  margin-bottom:18px;
  color:var(--evt-azul);
  font-weight:800;
  text-decoration:none;
}
.native-event-hero{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:24px;
  align-items:stretch;
}
.native-event-hero-cover{
  position:relative;
  min-height:460px;
  border:1px solid var(--evt-border);
  border-radius:22px;
  background:#fff center/contain no-repeat;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(16,24,40,.05);
}
.native-event-hero-cover.logo{
  background-color:#EEF5F7;
  background-size:150px 150px;
}
.native-event-hero-cover.clickable{cursor:pointer}
.native-event-summary{
  display:flex;
  flex-direction:column;
  padding:28px;
  background:#fff;
  border:1px solid var(--evt-border);
  border-radius:22px;
  box-shadow:0 10px 30px rgba(16,24,40,.05);
}
.native-event-summary h1{
  margin:14px 0 18px;
  color:var(--evt-azul);
  font-size:clamp(36px,4.5vw,54px);
  line-height:1.02;
}
.native-event-detail-meta{
  display:grid;
  gap:11px;
  margin-bottom:20px;
}
.native-event-detail-meta div{
  display:flex;
  gap:10px;
  font-size:14px;
}
.native-event-detail-meta strong{
  min-width:88px;
  color:#475467;
}
.native-event-detail-prices{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:auto;
}
.native-event-detail-prices .native-event-price{
  padding:14px;
}
.native-event-detail-prices .native-event-price strong{
  font-size:24px;
}
.native-event-register{
  width:100%;
  margin-top:14px;
  min-height:50px;
}
.native-event-content{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:22px;
  margin-top:24px;
}
.native-event-section{
  padding:25px;
  background:#fff;
  border:1px solid var(--evt-border);
  border-radius:20px;
}
.native-event-section h2{
  margin:0 0 14px;
  color:var(--evt-azul);
  font-size:26px;
}
.native-event-description{
  color:#475467;
  font-size:16px;
  line-height:1.7;
  white-space:pre-line;
}
.native-event-info-row{
  padding:11px 0;
  border-bottom:1px solid #EEF1F3;
}
.native-event-info-row:last-child{border-bottom:0}
.native-event-info-row span{
  display:block;
  color:var(--evt-muted);
  font-size:10px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.native-event-info-row strong{
  display:block;
  margin-top:3px;
  color:#344054;
}
.native-event-gallery-wrap{margin-top:22px}
.native-event-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.native-event-gallery button{
  width:100%;
  padding:0;
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid var(--evt-border);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
}
.native-event-gallery img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* visor */
.native-event-viewer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(4,23,34,.78);
  backdrop-filter:blur(5px);
}
.native-event-viewer.show{display:flex}
.native-event-viewer-box{
  position:relative;
  width:min(1100px,100%);
  max-height:92vh;
  padding:16px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}
.native-event-viewer-close{
  position:absolute;
  right:10px;
  top:10px;
  z-index:2;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:var(--evt-azul2);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.native-event-viewer-body{
  min-height:180px;
  max-height:86vh;
  display:grid;
  place-items:center;
  overflow:auto;
}
.native-event-viewer-body img{
  display:block;
  max-width:100%;
  height:auto;
  max-height:82vh;
  object-fit:contain;
}

/* inscripción */
.native-signup-shell{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:24px;
  align-items:start;
}
.native-signup-card{
  padding:25px;
  background:#fff;
  border:1px solid var(--evt-border);
  border-radius:20px;
  box-shadow:0 10px 30px rgba(16,24,40,.05);
}
.native-signup-summary{position:sticky;top:20px}
.native-signup-title{
  margin:0 0 6px;
  color:var(--evt-azul);
  font-size:28px;
}
.native-signup-subtitle{
  margin:0 0 20px;
  color:var(--evt-muted);
}
.native-signup-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:20px;
}
.native-signup-choice label{
  display:block;
  padding:14px;
  border:1px solid #D0D5DD;
  border-radius:13px;
  cursor:pointer;
  background:#fff;
}
.native-signup-choice label.selected{
  border-color:var(--evt-turq);
  background:#EDF9FA;
  box-shadow:0 0 0 3px rgba(83,184,193,.10);
}
.native-signup-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.native-signup-field{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:6px;
}
.native-signup-field.full{grid-column:1/-1}
.native-signup-field label{
  color:#475467;
  font-size:12px;
  font-weight:800;
}
.native-signup-field input,
.native-signup-field select,
.native-signup-field textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #D0D5DD;
  border-radius:10px;
  outline:none;
  background:#fff;
  color:var(--evt-txt);
  font:inherit;
}
.native-signup-field textarea{
  min-height:95px;
  resize:vertical;
}
.native-signup-field input:focus,
.native-signup-field select:focus,
.native-signup-field textarea:focus{
  border-color:var(--evt-turq);
  box-shadow:0 0 0 4px rgba(83,184,193,.13);
}
.native-signup-pricebox{
  margin:18px 0;
  padding:15px;
  border:1px solid var(--evt-border);
  border-radius:13px;
  background:#F8FAFC;
}
.native-signup-pricebox span{
  color:var(--evt-muted);
  font-size:12px;
}
.native-signup-pricebox strong{
  display:block;
  margin-top:3px;
  color:var(--evt-azul);
  font-size:25px;
}
.native-payment-box{
  grid-column:1/-1;
  margin-top:2px;
  padding:14px;
  border-radius:13px;
}
.native-transfer-box{
  display:none;
  border:1px solid #B8DCE7;
  background:#F4FAFC;
}
.native-transfer-box.show{display:block}
.native-mp-box{
  display:none;
  border:1px solid #B7D7F0;
  background:#EEF7FF;
}
.native-mp-box.show{display:block}
.native-payment-box h3{
  margin:0 0 10px;
  color:var(--evt-azul);
  font-size:16px;
}
.native-bank-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.native-bank-item{
  padding:9px;
  border:1px solid #DCE8ED;
  border-radius:9px;
  background:#fff;
}
.native-bank-item span{
  display:block;
  color:var(--evt-muted);
  font-size:10px;
  text-transform:uppercase;
}
.native-bank-item strong{
  display:block;
  margin-top:3px;
  color:#344054;
  font-size:12px;
  word-break:break-word;
}
.native-signup-help{
  margin-top:5px;
  color:var(--evt-muted);
  font-size:11px;
  line-height:1.45;
}
.native-signup-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}
.native-signup-status{
  flex:1;
  min-width:200px;
  color:var(--evt-muted);
  font-size:13px;
}
.native-signup-status.error{color:var(--evt-bad)}
.native-signup-success{
  padding:22px;
  border:1px solid #ABEFC6;
  border-radius:16px;
  background:#ECFDF3;
  color:#05603A;
}
.native-signup-success h2{margin:0 0 10px}
.native-summary-row{
  padding:11px 0;
  border-bottom:1px solid #EEF1F3;
}
.native-summary-row:last-child{border-bottom:0}
.native-summary-row span{
  display:block;
  color:var(--evt-muted);
  font-size:10px;
  text-transform:uppercase;
}
.native-summary-row strong{
  display:block;
  margin-top:3px;
  color:#344054;
}
.native-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

/* pago */
.native-payment-result{
  width:min(820px,100%);
  margin:auto;
  padding:34px 0 20px;
}
.native-payment-result-card{
  padding:28px;
  border:1px solid var(--evt-border);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,24,40,.06);
}
.native-payment-result-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  border-radius:50%;
  background:#EEF2F4;
  color:var(--evt-azul);
  font-size:28px;
  font-weight:900;
}
.native-payment-result-icon.ok{
  background:#ECFDF3;
  color:var(--evt-ok);
}
.native-payment-result-icon.warn{
  background:#FFF7ED;
  color:var(--evt-warn);
}
.native-payment-result-icon.bad{
  background:#FEF3F2;
  color:var(--evt-bad);
}

@media(max-width:950px){
  .native-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .native-event-hero,
  .native-event-content,
  .native-signup-shell{grid-template-columns:1fr}
  .native-signup-summary{position:static}
}
@media(max-width:650px){
  .native-events-grid{grid-template-columns:1fr}
  .native-event-hero-cover{min-height:300px}
  .native-event-summary,
  .native-event-section,
  .native-signup-card{padding:18px;border-radius:17px}
  .native-event-summary h1{font-size:36px}
  .native-event-detail-prices,
  .native-signup-choice,
  .native-signup-fields,
  .native-bank-grid{grid-template-columns:1fr}
  .native-signup-field.full{grid-column:auto}
  .native-event-gallery{grid-template-columns:1fr}
  .native-signup-actions{flex-direction:column;align-items:stretch}
  .native-signup-actions .button{width:100%}
  .native-signup-status{min-width:0}
}
