:root{
  --cream:#f4efe2;
  --cream-2:#ece4d0;
  --navy:#16223d;
  --navy-2:#20304f;
  --red:#c23b3b;
  --red-dark:#a12f2f;
  --gold:#d9a441;
  --line: rgba(22,34,61,0.35);
  --ink-soft: rgba(22,34,61,0.65);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--cream-2);
  color:var(--navy);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}
.display{ font-family:'Anton', 'Arial Narrow', sans-serif; }
.script{ font-family:'Caveat', cursive; }

.page{ max-width:1000px; margin:0 auto; padding:28px 16px 60px; overflow:hidden; }

.hero{
  max-width:690px;
  margin:0 auto;
  padding:40px 32px 34px;
  text-align:center;
}
.hero-logo{ width:130px; height:auto; margin:0 auto 6px; display:block; }
.hero-logo-full{ margin:0 0 6px; }
.hero-logo-full img{ display:block; width:100%; max-width:420px; height:auto; margin:0 auto; }
.sr-only{
  position:absolute;
  z-index:-5;
  top:-85000px;
}
h1.bazar{
  font-size:clamp(40px, 8vw, 80px);
  color:var(--navy);
  letter-spacing:0.01em;
  line-height:0.95;
}
h1.solidario{
  font-size:clamp(38px, 7.5vw, 78px);
  color:var(--red);
  line-height:1;
  margin-top:-6px;
  transform:rotate(-2deg);
}
.subtag{
  display:inline-block;
  background:var(--navy);
  color:var(--cream);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.06em;
  padding:9px 18px;
  border-radius:5px;
  margin-top:14px;
  text-transform:uppercase;
}
.gracias-row{
  margin-top:26px;
  font-family:'Caveat',cursive;
  font-size:30px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.gracias-row .red-txt{ color:var(--red-dark); }
.gracias-row .navy-txt{ color:var(--navy-2); }
.gracias-row .sep{ color:var(--ink-soft); font-family:'Inter',sans-serif; }

.hero-divider{ border-top:2px dotted var(--line); margin:26px -8px 0; }
.hero-info{ display:grid; grid-template-columns:1fr 1fr; }
.hero-col{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:22px 8px; }
.hero-col:first-child{ border-right:2px dotted var(--line); }
.hero-info .info-row{ border-bottom:none; padding:12px 0; }
.info-row{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:14px 0;
  border-bottom:2px dotted var(--line);
}
.info-row:last-child{ border-bottom:none; }
.info-row svg{ width:26px; height:26px; color:var(--red); margin-bottom:6px; }
.info-row .l1{ font-weight:800; font-size:14.5px; letter-spacing:0.02em; color:var(--navy); }
.info-row .l2{ font-weight:800; font-size:14.5px; letter-spacing:0.02em; color:var(--red); }
.price-box{
  border:2px dashed var(--red);
  border-radius:8px;
  padding:8px 14px;
  display:flex; align-items:center; gap:10px;
}
.price-box svg{ width:24px; height:24px; margin:0; color:var(--navy); }
.price-box .ptxt{ font-size:12px; font-weight:700; color:var(--navy); text-align:left; line-height:1.2; }
.price-box .pnum{ font-size:20px; font-weight:800; color:var(--red); }

@media (max-width:520px){
  .hero{ padding:32px 22px 26px; }
  .hero-col{ padding:18px 6px; }
  .tickets-wrap{ padding:30px 18px 34px; border-radius:16px; }
}

.causa{ max-width:640px; margin:52px auto 0; text-align:center; padding:0 16px; }
.causa h2{ font-size:22px; font-weight:700; margin-bottom:12px; color:var(--navy); }
.causa p{ font-size:15px; line-height:1.7; color:var(--ink-soft); }

.tickets-wrap{
  max-width:540px;
  margin:52px auto 0;
  background:var(--cream);
  border:1px solid rgba(22,34,61,0.12);
  border-radius:20px;
  box-shadow:0 20px 50px -24px rgba(22,34,61,0.35);
  padding:38px 30px 42px;
}
.section-title{ text-align:center; font-size:24px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.section-sub{ text-align:center; font-size:13.5px; color:var(--ink-soft); margin-bottom:28px; }

.stub{
  background:var(--cream);
  border:1px solid rgba(22,34,61,0.15);
  border-radius:12px;
  display:flex; align-items:stretch;
  max-width:480px; margin:0 auto;
  overflow:hidden;
}
.stub-main{ flex:1; padding:18px 20px; }
.stub-main .name{ font-weight:700; font-size:17px; color:var(--navy); }
.stub-main .desc{ font-size:12.5px; color:var(--ink-soft); margin-top:3px; }
.stub-price{
  width:110px;
  background:var(--navy);
  color:var(--cream);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:14px 8px;
}
.stub-price .amt{ font-size:19px; font-weight:800; color:var(--gold); }
.stub-price .cur{ font-size:10.5px; opacity:0.75; }

.qty-control{ display:flex; align-items:center; gap:12px; margin-top:10px; }
.qty-btn{
  width:30px; height:30px; border-radius:50%; border:1.5px solid var(--navy);
  background:transparent; color:var(--navy); font-size:16px; cursor:pointer;
}
.qty-btn:hover{ background:rgba(22,34,61,0.06); }
.qty-val{ min-width:18px; text-align:center; font-size:15px; font-weight:700; color:var(--navy); }

.total-bar{
  max-width:480px; margin:22px auto 0;
  display:flex; justify-content:space-between; align-items:center;
  border-top:2px dotted var(--line); padding-top:16px;
}
.total-bar .label{ color:var(--ink-soft); font-size:14px; }
.total-bar .value{ font-size:24px; font-weight:800; color:var(--red); }

.form-wrap{ margin-top:44px; padding:0 16px; }
form{
  max-width:480px; margin:0 auto;
  background:var(--cream);
  border:1px solid rgba(22,34,61,0.15);
  border-radius:14px;
  padding:28px 26px;
}
.field{ margin-bottom:16px; }
.field label{
  display:block; font-size:12px; font-weight:600; letter-spacing:0.02em;
  color:var(--ink-soft); margin-bottom:6px; text-transform:uppercase;
}
.field input{
  width:100%; background:#fff; border:1px solid rgba(22,34,61,0.25);
  border-radius:8px; padding:11px 13px; color:var(--navy); font-size:14.5px;
  font-family:'Inter',sans-serif;
}
.field input:focus{ outline:2px solid var(--red); outline-offset:1px; border-color:transparent; }

.phone-group{ display:flex; gap:8px; }
.phone-group select{
  flex:0 0 auto; width:auto;
  background:#fff; border:1px solid rgba(22,34,61,0.25);
  border-radius:8px; padding:11px 10px; color:var(--navy);
  font-size:14.5px; font-family:'Inter',sans-serif; cursor:pointer;
}
.phone-group select:focus{ outline:2px solid var(--red); outline-offset:1px; border-color:transparent; }
.phone-group input{ flex:1; }

/* Honeypot anti-bots: invisible para personas, pero presente en el DOM */
.hp-field{ position:absolute !important; left:-9999px !important; top:-9999px; width:1px; height:1px; overflow:hidden; }

.submit-btn{
  width:100%; padding:14px; border:none; border-radius:999px;
  background:var(--red); color:#fff; font-weight:700; font-size:15px; cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:transform .15s ease, background .15s ease;
}
.submit-btn:hover{ transform:translateY(-1px); background:var(--red-dark); }
.submit-btn:disabled{ opacity:0.4; cursor:not-allowed; transform:none; }

.hint{ text-align:center; font-size:12px; color:var(--ink-soft); margin-top:12px; }

.pago-panel{
  max-width:480px; margin:18px auto 0;
  background:#fdf9ef;
  border:1.5px dashed var(--red);
  border-radius:12px; padding:20px 22px;
  display:none;
}
.pago-panel.show{ display:block; }
.pago-panel h3{ font-size:16px; margin-bottom:10px; color:var(--red-dark); }
.pago-row{ display:flex; justify-content:space-between; font-size:13.5px; padding:6px 0; border-bottom:1px dashed var(--line); }
.pago-row:last-child{ border-bottom:none; }

.pago-val{ display:inline-flex; align-items:center; gap:8px; }
.copy-btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:none; border:none; padding:2px; cursor:pointer; color:var(--red);
  transition:color .15s ease;
}
.copy-btn:hover{ color:var(--red-dark); }
.copy-btn.copied{ color:#2f8a4f; }
.copy-btn svg{ width:16px; height:16px; }

.toast{
  position:fixed; left:50%; bottom:26px;
  transform:translateX(-50%) translateY(16px);
  background:var(--navy); color:var(--cream);
  padding:12px 22px; border-radius:999px;
  font-size:14px; font-weight:600;
  box-shadow:0 10px 30px -10px rgba(22,34,61,0.6);
  opacity:0; pointer-events:none; z-index:1000;
  transition:opacity .2s ease, transform .2s ease;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

.wa-btn{
  display:block; text-align:center; margin-top:14px;
  background:#25D366; color:#0b1b0f; font-weight:700;
  padding:12px; border-radius:999px; text-decoration:none; font-size:14px;
}

.pago-info{
  max-width:480px; margin:22px auto 0;
  background:#fdf9ef; border:1.5px dashed var(--red);
  border-radius:12px; padding:18px 22px;
}
.pago-info h3{ font-size:14px; color:var(--red-dark); margin-bottom:10px; }
.pago-row{ display:flex; justify-content:space-between; font-size:13.5px; padding:6px 0; border-bottom:1px dashed var(--line); }
.pago-row:last-child{ border-bottom:none; }

.form-h3{ font-size:14px; color:var(--navy); margin-bottom:14px; margin-top:6px; }
.form-h3:first-child{ margin-top:0; }

.file-drop{
  position:relative;
  border:1.5px dashed rgba(22,34,61,0.35);
  border-radius:8px;
  background:#fff;
  padding:16px 14px;
  text-align:center;
  font-size:13px;
  color:var(--ink-soft);
}
.file-drop input[type="file"]{
  position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%;
}
.file-drop.has-file{ border-color:var(--green,#2f8a4f); color:var(--navy); font-weight:600; }

.gracias-ticket{
  max-width:900px; margin:40px auto 0;
  background:var(--navy); color:var(--cream);
  border-radius:18px; padding:34px 28px;
  text-align:center;
  position:relative; overflow:hidden;
  display:flex;
  justify-content:center;
  flex-flow:column nowrap;
  align-items:center;
}
.gracias-ticket::before{
  content:""; position:absolute; top:0; left:0; right:0; height:6px;
  background:linear-gradient(90deg, var(--red) 33%, var(--gold) 33% 66%, var(--navy) 66%);
}
.heart-icon-sm{ width:56px; margin:8px auto 10px; display:block; }
.gracias-header{ text-align:center; margin:0 auto 6px; }
.gracias-title{ font-size:clamp(26px,6vw,34px); font-weight:500; color:#16223d; }
.gracias-sub{ font-size:52px; color:var(--red); margin-top:-4px; }
.mini-entrada{
  margin-top:22px;
  text-align:left; display:inline-block;
}
.mini-row{ font-size:14px; margin:8px 0; }
.te-esperamos{ font-family:'Caveat',cursive; font-size:30px; color:var(--gold); margin-top:18px; }
.folio-box{
  margin-top:20px; display:inline-block;
  background:rgba(244,239,226,0.1); border:1px solid rgba(244,239,226,0.3);
  border-radius:999px; padding:8px 20px; font-size:18px; letter-spacing:0.08em;
  color:var(--cream);
}
.gracias-note{ font-size:12px; color:rgba(244,239,226,0.65); margin-top:18px; line-height:1.6; }

.boleto-wrap{ max-width:900px; margin:34px auto 0; text-align:center; padding:0 16px; }
.boleto-wrap h3{ font-size:25px; color:var(--navy); margin-bottom:14px; }
.boleto-img{
  display:block; margin:0 auto;
  width:100%; max-width:900px; height:auto;
  border-radius:14px;
  border:1px solid rgba(22,34,61,0.12);
  box-shadow:0 18px 40px -20px rgba(22,34,61,0.4);
}
.download-btn{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:18px;
  background:var(--red); color:#fff;
  font-weight:700; font-size:14.5px;
  padding:13px 26px; border:none; border-radius:999px; cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:transform .15s ease, background .15s ease;
}
.download-btn:hover{ transform:translateY(-1px); background:var(--red-dark); }
.download-btn svg{ color:var(--gold); }
.ticket-invalido{ max-width:520px; margin:24px auto 0; text-align:center; }
.ticket-invalido .gracias-title{ color:var(--red); }
.invalido-text{ color:var(--ink-soft); font-size:15px; line-height:1.6; margin:12px 0 22px; }

.boleto-hint{ margin-top:16px; font-size:13px; }
.boleto-hint a{ color:var(--navy); text-decoration:none; font-size:20px; border-bottom:1px solid var(--navy); }
.boleto-hint a:hover{ color:var(--navy); }

footer{ text-align:center; padding:50px 16px 20px; font-size:12px; color:var(--ink-soft); }
