/* ===========================================================
   Festival Eat The Street Panamá — Registration forms
   Token system
   =========================================================== */
:root{
  --teal:        #12969F;
  --teal-dark:   #0A4A50;
  --teal-deep:   #073136;
  --yellow:      #FFD447;
  --coral:       #FF6A45;
  --coral-dark:  #E8532F;
  --ink:         #102B2E;
  --cream:       #FFFBF2;
  --card:        #FFFFFF;
  --line:        #E4DCC8;
  --radius:      18px;
  --shadow:      0 10px 30px rgba(7,49,54,0.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', -apple-system, Segoe UI, sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.display{
  font-family:'Baloo 2', 'Inter', sans-serif;
  font-weight:700;
  color:var(--teal-deep);
  margin:0;
}

a{ color:var(--teal-dark); }

/* ---------- Top banner ---------- */
.banner{
  background:linear-gradient(135deg,var(--teal) 0%, var(--teal-dark) 100%);
  color:#fff;
  padding:34px 20px 46px;
  position:relative;
  overflow:hidden;
}
.banner::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:26px;
  background:
    radial-gradient(circle at 10px 0, transparent 12px, var(--cream) 13px) repeat-x;
  background-size:26px 26px;
}
.banner-inner{
  max-width:920px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.banner .badge{
  background:var(--yellow);
  color:var(--teal-deep);
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
  display:inline-block;
  margin-bottom:10px;
}
.banner h1{
  color:#fff;
  font-size:clamp(28px,5vw,42px);
  line-height:1.05;
}
.banner p{
  margin:10px 0 0;
  color:#EAFBFB;
  font-size:15px;
}
.banner .meta{
  margin-top:14px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:13px;
  color:#D8F3F3;
}
.banner .meta strong{ color:#fff; }

/* ---------- Layout ---------- */
.wrap{
  max-width:820px;
  margin:-20px auto 60px;
  padding:0 20px;
  position:relative;
  z-index:2;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px clamp(20px,5vw,44px);
  margin-bottom:26px;
  border:1px solid var(--line);
}

/* ---------- Ticket-stub divider (signature element) ---------- */
.stub{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  margin:38px 0 22px;
}
.stub .stub-num{
  flex:0 0 auto;
  width:34px; height:34px;
  border-radius:50%;
  background:var(--coral);
  color:#fff;
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  font-size:15px;
}
.stub h2{ font-size:19px; color:var(--teal-deep); flex:0 0 auto; }
.stub .perf{
  flex:1 1 auto;
  height:0;
  border-top:2px dashed var(--line);
}

/* ---------- Form elements ---------- */
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-weight:600;
  font-size:14px;
  color:var(--teal-deep);
  margin-bottom:6px;
}
.hint{
  font-size:12.5px;
  color:#6B7A7B;
  margin-top:5px;
}
input[type=text],
input[type=email],
input[type=tel],
input[type=number],
textarea,
select{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--line);
  border-radius:10px;
  font-family:inherit;
  font-size:15px;
  background:#FFFEFA;
  color:var(--ink);
  transition:border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(18,150,159,0.18);
}
textarea{ min-height:96px; resize:vertical; }

.row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .row2{ grid-template-columns:1fr; } }

fieldset{ border:none; padding:0; margin:0; }
legend{
  font-weight:600;
  font-size:14px;
  color:var(--teal-deep);
  margin-bottom:8px;
  padding:0;
}

/* option grid (checkboxes / radios) */
.opt-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:10px;
}
.opt{
  display:flex;
  align-items:center;
  gap:10px;
  border:1.5px solid var(--line);
  border-radius:10px;
  padding:11px 13px;
  cursor:pointer;
  background:#FFFEFA;
  font-size:14px;
  transition:border-color .15s, background .15s;
}
.opt:hover{ border-color:var(--teal); }
.opt input{ accent-color:var(--coral); width:17px; height:17px; flex:0 0 auto; }
.opt.checked{ border-color:var(--coral); background:#FFF3EE; }
.opt .price{ font-weight:700; color:var(--coral-dark); margin-right:2px; }

.inline-opts{ display:flex; gap:14px; flex-wrap:wrap; }

.notice{
  background:#FFF7E6;
  border:1px solid #F3DFA6;
  border-radius:12px;
  padding:16px 18px;
  font-size:13.5px;
  color:#5C4A16;
  margin-bottom:26px;
}
.notice strong{ color:#3E3009; }

.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13.5px;
  color:#3C4A4B;
  background:#F3F8F6;
  border-radius:10px;
  padding:14px 16px;
  margin:22px 0;
}
.consent input{ margin-top:3px; accent-color:var(--teal); }

.btn{
  display:inline-block;
  background:var(--coral);
  color:#fff;
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  font-size:17px;
  border:none;
  border-radius:999px;
  padding:15px 38px;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(255,106,69,0.35);
  transition:transform .12s, box-shadow .12s;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 12px 22px rgba(255,106,69,0.4); }
.btn:active{ transform:translateY(0); }
.btn-wrap{ text-align:center; margin-top:8px; }

.error-box{
  background:#FDECEC;
  border:1px solid #F3B3B3;
  color:#8A1F1F;
  border-radius:10px;
  padding:12px 16px;
  font-size:13.5px;
  margin-bottom:20px;
}

/* ---------- Landing / chooser page ---------- */
.choice-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:10px;
}
@media (max-width:640px){ .choice-grid{ grid-template-columns:1fr; } }

.choice-card{
  display:block;
  text-decoration:none;
  background:var(--card);
  border:1.5px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  box-shadow:var(--shadow);
  transition:transform .15s, border-color .15s;
}
.choice-card:hover{ transform:translateY(-4px); border-color:var(--coral); }
.choice-card .icon{
  width:52px; height:52px;
  border-radius:14px;
  background:var(--yellow);
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
  margin-bottom:14px;
}
.choice-card h3{ font-size:20px; color:var(--teal-deep); margin-bottom:6px; }
.choice-card p{ font-size:14px; color:#5B6E6F; margin:0 0 14px; }
.choice-card .go{
  font-family:'Baloo 2',sans-serif;
  font-weight:700;
  color:var(--coral-dark);
  font-size:14px;
}

/* ---------- Footer ---------- */
footer{
  text-align:center;
  font-size:12.5px;
  color:#7C8E8F;
  padding:20px;
}

/* ---------- Thank you page ---------- */
.thanks-hero{
  text-align:center;
  padding:64px 20px;
}
.thanks-hero .stamp{
  width:88px; height:88px;
  border-radius:50%;
  background:var(--coral);
  color:#fff;
  font-size:40px;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px;
  box-shadow:0 10px 24px rgba(255,106,69,0.35);
}
.thanks-hero h1{ font-size:clamp(26px,5vw,36px); margin-bottom:10px; }
.thanks-hero p{ color:#4A5C5D; font-size:15.5px; max-width:480px; margin:0 auto; }
