/* La Gozadera S.C. — estilos según el handoff de diseño (hifi) */

:root {
  --negro: #14100E;
  --crema: #FBF8DC;
  --rojo: #EE3524;
  --amarillo: #FFD100;
  --verde: #2E6B3A;
  --azul: #2B57A8;
  --marron-texto: #3B2E1F;
  --marron-label: #5A4A38;
  --anton: Anton, Impact, sans-serif;
  --archivo: Archivo, system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Los elementos con [hidden] jamás se muestran, aunque otra regla les dé display */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--negro);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--archivo);
  color: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; }
input, select, button { font-family: inherit; }

@keyframes gz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gz-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes gz-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes gz-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Deriva automática: cada pieza flota de un lado a otro en bucle.
   --rot conserva la rotación decorativa propia de cada marco/forma. */
@keyframes gz-drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  33% { transform: translate(10px, -14px) rotate(calc(var(--rot, 0deg) + 2deg)); }
  66% { transform: translate(-8px, 10px) rotate(calc(var(--rot, 0deg) - 2deg)); }
}

/* ---------- Nav ---------- */

.gz-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(20, 16, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--rojo);
}

.gz-nav__logo { height: 42px; width: auto; display: block; }
.gz-nav__links { display: flex; align-items: center; gap: 22px; }

.gz-nav__link {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crema);
}
.gz-nav__link:hover { color: var(--amarillo); }

.gz-nav__cta {
  display: inline-block;
  padding: 11px 20px;
  background: var(--rojo);
  color: var(--crema);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gz-nav__cta:hover { background: var(--amarillo); color: var(--negro); }

/* ---------- Hero ---------- */

.gz-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 70px 20px 90px;
  background: var(--amarillo);
  overflow: hidden;
}

.gz-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--negro) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.14;
}

.gz-hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gz-shape { position: absolute; }
.gz-shape--green {
  left: 0; top: 14%;
  width: min(13vw, 180px); height: 230px;
  background: var(--verde);
  --rot: -9deg;
  animation: gz-drift 9s ease-in-out infinite;
  clip-path: polygon(6% 0, 100% 8%, 94% 100%, 0 92%);
}
.gz-shape--blue {
  right: 0; top: 11%;
  width: min(14vw, 200px); height: 250px;
  background: var(--azul);
  --rot: 8deg;
  animation: gz-drift 11s ease-in-out -4s infinite;
  clip-path: polygon(0 7%, 96% 0, 100% 93%, 5% 100%);
}
.gz-shape--red {
  left: 0; bottom: 6%;
  width: min(11vw, 150px); height: 190px;
  background: var(--rojo);
  --rot: 6deg;
  animation: gz-drift 8s ease-in-out -2s infinite;
  clip-path: polygon(0 0, 100% 6%, 92% 100%, 7% 94%);
}

.gz-hero__frames { display: none; }
@media (min-width: 1280px) { .gz-hero__frames { display: block; } }

.gz-frame {
  position: absolute;
  border: 5px solid var(--negro);
  background: var(--crema);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gz-frame--a { left: 0; bottom: 14%; width: 220px; height: 280px; --rot: -6deg; animation: gz-drift 12s ease-in-out infinite; }
.gz-frame--b { right: 0; bottom: 10%; width: 240px; height: 300px; --rot: 5deg; animation: gz-drift 14s ease-in-out -6s infinite; }

/* Las fotos llenan su marco sin deformarse, recortando lo que sobre */
.gz-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gz-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 900px;
  text-align: center;
}

.gz-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--negro);
  color: var(--amarillo);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gz-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rojo);
  animation: gz-pulse 1.4s ease-in-out infinite;
}

.gz-hero__logo {
  width: min(78vw, 660px);
  height: auto;
  display: block;
  filter: drop-shadow(6px 8px 0 rgba(20, 16, 14, 0.22));
}

.gz-hero__title {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(30px, 6vw, 62px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--negro);
  text-wrap: balance;
}

.gz-hero__lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--marron-texto);
  text-wrap: pretty;
}

.gz-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--verde);
  color: var(--amarillo);
  border: 3px solid var(--negro);
  transform: rotate(-1.5deg);
  box-shadow: 5px 5px 0 rgba(20, 16, 14, 0.35);
  font-family: var(--anton);
  font-size: clamp(15px, 1.8vw, 21px);
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}
.gz-sticker__sub { font-size: 0.72em; color: var(--crema); }

.gz-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.gz-btn {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 999px;
  font-family: var(--anton);
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gz-btn--primary {
  background: var(--rojo);
  color: var(--crema);
  box-shadow: 0 6px 0 var(--negro);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.gz-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--negro); }
.gz-btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--negro); }

.gz-btn--ghost {
  background: transparent;
  color: var(--negro);
  border: 3px solid var(--negro);
}
.gz-btn--ghost:hover { background: var(--negro); color: var(--amarillo); }

.gz-hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--negro);
}
.gz-hero__sep { opacity: 0.45; }
.gz-hero__fact-red { color: var(--rojo); }

/* ---------- Marquesina ---------- */

.gz-marquee {
  position: relative;
  background: var(--rojo);
  border-top: 4px solid var(--negro);
  border-bottom: 4px solid var(--negro);
  padding: 16px 0;
  overflow: hidden;
}

.gz-marquee__inner {
  display: flex;
  width: max-content;
  animation: gz-marquee 26s linear infinite;
  white-space: nowrap;
}

.gz-marquee__track {
  display: flex;
  gap: 38px;
  width: max-content;
  padding-right: 38px;
  font-family: var(--anton);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amarillo);
}
.gz-marquee__star { color: var(--crema); }

/* ---------- Evento ---------- */

.gz-evento {
  position: relative;
  padding: 90px 20px 100px;
  background: var(--negro);
}

.gz-evento__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 54px;
  align-items: start;
}

.gz-evento__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gz-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amarillo);
}

.gz-evento__title {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--crema);
}

.gz-ticket {
  display: flex;
  flex-direction: column;
  background: var(--crema);
  color: var(--negro);
  border: 3px solid var(--crema);
}

.gz-ticket__row { display: flex; align-items: stretch; }
.gz-ticket__cell { flex: 1; padding: 20px; }
.gz-ticket__cell--divided { border-right: 2px solid rgba(20, 16, 14, 0.15); }
.gz-ticket__cell--dashed { flex: none; border-top: 2px dashed rgba(20, 16, 14, 0.25); }

.gz-ticket__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

.gz-ticket__value {
  margin-top: 6px;
  font-family: var(--anton);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  text-transform: uppercase;
}

.gz-ticket__ig {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rojo);
}
.gz-ticket__ig:hover { color: var(--negro); }

.gz-ticket__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--rojo);
  color: var(--amarillo);
}

.gz-ticket__strip-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.8);
}

.gz-ticket__strip-value {
  font-family: var(--anton);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1;
  text-transform: uppercase;
}

.gz-lineup {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gz-lineup__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(251, 248, 220, 0.18);
}

.gz-lineup__slot {
  font-family: var(--anton);
  font-size: 16px;
  color: var(--amarillo);
  min-width: 56px;
}

.gz-lineup__name {
  font-family: var(--anton);
  font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase;
  color: var(--crema);
}

.gz-lineup__genre {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.55);
}

.gz-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: transparent;
  border: 3px solid var(--crema);
  color: var(--crema);
}
.gz-map:hover { background: var(--crema); color: var(--negro); }

.gz-map__text { display: flex; flex-direction: column; gap: 4px; }

.gz-map__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.gz-map__title {
  font-family: var(--anton);
  font-size: clamp(19px, 2.2vw, 26px);
  text-transform: uppercase;
}

.gz-map__cta { font-size: 13px; font-weight: 700; }

.gz-map__badge {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--amarillo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--anton);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gz-promo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--amarillo);
  color: var(--negro);
  border: 3px solid var(--crema);
  transform: rotate(-1deg);
}

.gz-promo__big {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  color: var(--rojo);
}

.gz-promo__text {
  font-family: var(--anton);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.05;
  text-transform: uppercase;
}

/* ---------- Collage ---------- */

.gz-collage {
  position: relative;
  min-height: 520px;
}

.gz-collage__frame {
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gz-collage__frame--a {
  left: 0; top: 0;
  width: 62%;
  aspect-ratio: 3 / 4;
  border: 5px solid var(--crema);
  --rot: -4deg;
  animation: gz-drift 13s ease-in-out infinite;
  background: var(--azul);
}
.gz-collage__frame--b {
  right: 0; top: 24%;
  width: 56%;
  aspect-ratio: 1 / 1;
  border: 5px solid var(--amarillo);
  --rot: 5deg;
  animation: gz-drift 11s ease-in-out -5s infinite;
  background: var(--verde);
}
.gz-collage__frame--c {
  left: 8%; bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 5px solid var(--rojo);
  --rot: 3deg;
  animation: gz-drift 15s ease-in-out -9s infinite;
  background: var(--amarillo);
}

.gz-collage__seal {
  position: absolute;
  right: 2%; bottom: 6%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--amarillo);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--anton);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  border: 4px solid var(--negro);
  animation: gz-float 5s ease-in-out infinite;
}

/* ---------- Reglas ---------- */

.gz-reglas {
  position: relative;
  padding: 88px 20px 96px;
  background: var(--amarillo);
  color: var(--negro);
  border-top: 5px solid var(--negro);
}

.gz-reglas__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
  text-align: center;
}

.gz-reglas__title {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 0.88;
  text-transform: uppercase;
}
.gz-reglas__title-red { color: var(--rojo); }
.gz-reglas__title-green { color: var(--verde); }

.gz-reglas__lead {
  margin: 0;
  max-width: 640px;
  font-family: var(--anton);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--rojo);
}

.gz-reglas__sub {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--verde);
}

.gz-reglas__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  text-align: left;
}

.gz-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(20, 16, 14, 0.06);
  border-left: 6px solid var(--verde);
}

.gz-rule__mark {
  font-family: var(--anton);
  font-size: 15px;
  color: var(--rojo);
  padding-top: 3px;
}

.gz-rule__text {
  font-family: var(--anton);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.15;
  text-transform: uppercase;
}
.gz-rule__text--ok { color: var(--verde); }
.gz-rule__text--no { color: var(--rojo); }

.gz-reglas__closing {
  padding: 22px 30px;
  background: var(--verde);
  color: var(--amarillo);
  font-family: var(--anton);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

/* ---------- Reservas ---------- */

.gz-reservas {
  position: relative;
  padding: 92px 20px 110px;
  background: var(--verde);
  border-top: 5px solid var(--negro);
}

.gz-reservas__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 48px;
  align-items: start;
}

.gz-reservas__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gz-reservas__title {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--crema);
}

.gz-reservas__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(251, 248, 220, 0.9);
  max-width: 420px;
  text-wrap: pretty;
}

.gz-how {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: rgba(20, 16, 14, 0.28);
  border: 2px dashed rgba(255, 209, 0, 0.55);
}

.gz-how__title {
  font-family: var(--anton);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--amarillo);
}

.gz-how__steps {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(251, 248, 220, 0.85);
}

/* ---------- Tarjeta del formulario ---------- */

.gz-card {
  background: var(--crema);
  color: var(--negro);
  border: 4px solid var(--negro);
  box-shadow: 12px 12px 0 rgba(20, 16, 14, 0.45);
}

.gz-card__header {
  padding: 18px 24px;
  background: var(--rojo);
  color: var(--crema);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gz-card__title {
  font-family: var(--anton);
  font-size: 22px;
  text-transform: uppercase;
}

.gz-card__date {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--amarillo);
  color: var(--negro);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.gz-form {
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gz-field { display: flex; flex-direction: column; gap: 7px; }

.gz-field__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marron-label);
}

.gz-field__input {
  padding: 14px 16px;
  border: 3px solid var(--negro);
  border-radius: 0;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  color: var(--negro);
  outline: none;
}
.gz-field__input:focus { border-color: var(--rojo); }
.gz-field__input--cedula { letter-spacing: 0.06em; }

.gz-field__error {
  font-size: 12px;
  font-weight: 700;
  color: var(--rojo);
  min-height: 14px;
}

.gz-qty { display: flex; flex-direction: column; gap: 9px; }
.gz-qty__options { display: flex; gap: 10px; }

.gz-qty__btn {
  flex: 1;
  padding: 16px 10px;
  border: 3px solid var(--negro);
  border-radius: 0;
  background: #FFFFFF;
  color: var(--negro);
  font-family: var(--anton);
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
}
.gz-qty__btn.is-active { background: var(--negro); color: var(--amarillo); }

.gz-qty__note {
  font-size: 12px;
  font-weight: 700;
  color: var(--marron-label);
}

.gz-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--amarillo);
  border: 3px solid var(--negro);
}

.gz-total__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gz-total__value { font-family: var(--anton); font-size: 26px; }

.gz-spots {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px;
  background: rgba(46, 107, 58, 0.1);
  border: 2px dashed var(--verde);
}

.gz-spots__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.gz-spots__left {
  font-family: var(--anton);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--verde);
}

.gz-spots__total {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marron-label);
}

.gz-spots__bar {
  position: relative;
  height: 12px;
  background: rgba(20, 16, 14, 0.12);
  overflow: hidden;
}

.gz-spots__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--verde);
  transition: width 400ms ease;
}
.gz-spots__fill.is-low { background: var(--rojo); }

.gz-form__server-error {
  font-size: 12px;
  font-weight: 700;
  color: var(--rojo);
  text-align: center;
  min-height: 14px;
}

.gz-submit {
  padding: 19px 24px;
  background: var(--rojo);
  border: none;
  border-radius: 0;
  color: var(--crema);
  font-family: var(--anton);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--negro);
}
.gz-submit:hover:not(:disabled) { background: var(--negro); color: var(--amarillo); }
.gz-submit:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--negro); }
.gz-submit:disabled { opacity: 0.7; cursor: wait; }

.gz-submit .gz-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 3px solid rgba(251, 248, 220, 0.35);
  border-top-color: var(--crema);
  border-radius: 50%;
  animation: gz-spin 0.8s linear infinite;
}

.gz-form__legal {
  font-size: 12px;
  line-height: 1.5;
  color: var(--marron-label);
  text-align: center;
}

/* ---------- Modal de confirmación ---------- */

.gz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gz-modal__backdrop,
.gz-party__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.gz-modal__card {
  position: relative;
  width: min(440px, 100%);
  background: var(--crema);
  color: var(--negro);
  border: 4px solid var(--negro);
  box-shadow: 12px 12px 0 rgba(20, 16, 14, 0.45);
}

.gz-modal__header {
  padding: 16px 22px;
  background: var(--amarillo);
  border-bottom: 4px solid var(--negro);
  font-family: var(--anton);
  font-size: 20px;
  text-transform: uppercase;
}

.gz-modal__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gz-modal__title {
  margin: 0;
  font-family: var(--anton);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

.gz-modal__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.gz-modal__text--warn {
  padding: 12px 14px;
  background: rgba(238, 53, 36, 0.1);
  border-left: 5px solid var(--rojo);
  color: var(--marron-texto);
}

.gz-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.gz-modal__yes {
  padding: 16px 22px;
  background: var(--verde);
  border: none;
  color: var(--amarillo);
  font-family: var(--anton);
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--negro);
}
.gz-modal__yes:hover { background: var(--negro); }
.gz-modal__yes:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--negro); }
.gz-modal__yes:disabled { opacity: 0.7; cursor: wait; }

.gz-modal__no {
  padding: 12px 22px;
  background: transparent;
  border: 3px solid var(--negro);
  border-radius: 999px;
  font-family: var(--anton);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--negro);
}
.gz-modal__no:hover { background: var(--negro); color: var(--amarillo); }

/* ---------- Celebración ---------- */

.gz-party {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gz-party__card {
  position: relative;
  width: min(420px, 100%);
  background: var(--crema);
  color: var(--negro);
  border: 4px solid var(--negro);
  box-shadow: 12px 12px 0 rgba(20, 16, 14, 0.45);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.gz-party__emoji { font-size: 54px; line-height: 1; }

.gz-party__title {
  font-family: var(--anton);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--verde);
}

.gz-party__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.gz-party__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--marron-label);
}

.gz-party__ok {
  margin-top: 8px;
  padding: 15px 26px;
  background: var(--rojo);
  border: none;
  color: var(--crema);
  font-family: var(--anton);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--negro);
}
.gz-party__ok:hover { background: var(--negro); color: var(--amarillo); }
.gz-party__ok:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--negro); }

/* Lluvia de emojis */

.gz-emoji-rain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  overflow: hidden;
}

.gz-emoji-rain span {
  position: absolute;
  top: -60px;
  font-size: 34px;
  animation: gz-emoji-fall linear forwards;
}

@keyframes gz-emoji-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(340deg); opacity: 0; }
}

.gz-soldout {
  padding: 40px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.gz-soldout__title {
  font-family: var(--anton);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--rojo);
}

.gz-soldout__text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  max-width: 340px;
}
.gz-soldout__text a { color: var(--rojo); font-weight: 800; }
.gz-soldout__text a:hover { color: var(--negro); }

/* ---------- Footer ---------- */

.gz-footer {
  padding: 60px 20px 48px;
  background: var(--negro);
  border-top: 4px solid var(--rojo);
}

.gz-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gz-footer__logo { width: 230px; height: auto; display: block; }
.gz-footer__col { display: flex; flex-direction: column; gap: 10px; }

.gz-footer__ig {
  font-family: var(--anton);
  font-size: 28px;
  text-transform: uppercase;
  color: var(--amarillo);
}
.gz-footer__ig:hover { color: var(--rojo); }

.gz-footer__line {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.55);
}

/* ---------- Móvil ---------- */

@media (max-width: 640px) {
  .gz-nav { padding: 10px 14px; gap: 10px; }
  .gz-nav__logo { height: 34px; }
  .gz-nav__links { gap: 12px; }
  .gz-nav__link { font-size: 12px; letter-spacing: 0.08em; }
  .gz-nav__cta { padding: 10px 16px; font-size: 12px; letter-spacing: 0.08em; }

  .gz-hero { min-height: auto; padding: 54px 16px 70px; }
  .gz-hero__content { gap: 20px; }
  .gz-hero__logo { width: 88vw; }
  .gz-hero__ctas { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .gz-btn { text-align: center; padding: 16px 24px; font-size: 18px; }
  .gz-hero__facts { gap: 8px 12px; font-size: 12px; letter-spacing: 0.12em; }

  /* Formas más pequeñas para no chocar con el texto */
  .gz-shape--green { width: 22vw; height: 150px; }
  .gz-shape--blue { width: 24vw; height: 165px; }
  .gz-shape--red { width: 19vw; height: 125px; }

  .gz-marquee { padding: 12px 0; }
  .gz-marquee__track { font-size: 20px; gap: 24px; padding-right: 24px; }

  .gz-evento { padding: 60px 16px 70px; }
  .gz-evento__grid { gap: 44px; }
  .gz-collage { min-height: 400px; }
  .gz-collage__seal { width: 92px; height: 92px; font-size: 13px; border-width: 3px; }

  .gz-map { padding: 16px 18px; gap: 14px; }
  .gz-map__badge { width: 54px; height: 54px; font-size: 12px; }
  .gz-promo { padding: 16px 18px; gap: 14px; }

  .gz-reglas { padding: 58px 16px 66px; }
  .gz-reglas__inner { gap: 26px; }

  .gz-reservas { padding: 60px 16px 78px; }
  .gz-reservas__grid { gap: 40px; }
  .gz-card { box-shadow: 8px 8px 0 rgba(20, 16, 14, 0.45); }
  .gz-card__header { padding: 14px 16px; }
  .gz-card__title { font-size: 18px; }
  .gz-form { padding: 22px 16px 26px; gap: 16px; }
  .gz-submit { font-size: 20px; }

  .gz-footer { padding: 48px 16px 40px; }
  .gz-footer__logo { width: 180px; }
  .gz-footer__ig { font-size: 24px; }
}

/* ---------- Panel del organizador ---------- */

.gz-panel-body { background: var(--negro); }

.gz-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 26px 24px;
  border-bottom: 4px solid var(--rojo);
}

.gz-panel-head__logo { height: 48px; width: auto; }

.gz-panel-head__titles { display: flex; flex-direction: column; gap: 4px; }

.gz-panel-head__title {
  margin: 0;
  font-family: var(--anton);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--crema);
}

.gz-panel-head__sub {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.6);
}

.gz-panel-stats { display: flex; gap: 12px; margin-left: auto; }

.gz-panel-stat {
  min-width: 92px;
  padding: 12px 16px;
  border: 3px solid var(--crema);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--crema);
}
.gz-panel-stat--taken { background: var(--rojo); border-color: var(--rojo); color: var(--amarillo); }
.gz-panel-stat--free { background: var(--verde); border-color: var(--verde); color: var(--amarillo); }

.gz-panel-stat__num { font-family: var(--anton); font-size: 30px; line-height: 1; }

.gz-panel-stat__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.gz-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 26px 24px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.gz-boleta {
  border: 3px solid rgba(251, 248, 220, 0.25);
  background: rgba(251, 248, 220, 0.04);
  color: var(--crema);
  display: flex;
  flex-direction: column;
}
.gz-boleta--taken { border-color: var(--amarillo); background: rgba(255, 209, 0, 0.06); }

.gz-boleta__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 2px dashed rgba(251, 248, 220, 0.2);
}

.gz-boleta__num { font-family: var(--anton); font-size: 22px; color: var(--crema); }

.gz-boleta__estado {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.gz-boleta--free .gz-boleta__estado { background: var(--verde); color: var(--amarillo); }
.gz-boleta--taken .gz-boleta__estado { background: var(--rojo); color: var(--crema); }

.gz-boleta__codigo {
  padding: 10px 14px 0;
  font-family: var(--anton);
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--amarillo);
}

.gz-boleta__qr {
  width: 132px;
  height: 132px;
  margin: 10px 14px 0;
  border: 3px solid var(--crema);
  background: var(--crema);
}

.gz-boleta__info {
  margin: 0;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gz-boleta__info dt {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.5);
}

.gz-boleta__info dd {
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.gz-boleta__libre {
  margin: 0;
  padding: 12px 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(251, 248, 220, 0.55);
}

.gz-panel-foot {
  padding: 0 24px 34px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.4);
}

/* Login del panel */

.gz-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gz-login__card {
  width: min(380px, 100%);
  background: var(--crema);
  color: var(--negro);
  border: 4px solid var(--negro);
  box-shadow: 12px 12px 0 rgba(238, 53, 36, 0.55);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gz-login__logo {
  width: 190px;
  align-self: center;
  height: auto;
}

.gz-login__title {
  margin: 0;
  font-family: var(--anton);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.gz-login__error {
  margin: 0;
  padding: 10px 12px;
  background: rgba(238, 53, 36, 0.1);
  border-left: 5px solid var(--rojo);
  font-size: 13px;
  font-weight: 700;
  color: var(--rojo);
}

.gz-login__btn {
  margin-top: 4px;
  padding: 15px 22px;
  background: var(--rojo);
  border: none;
  color: var(--crema);
  font-family: var(--anton);
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--negro);
}
.gz-login__btn:hover { background: var(--negro); color: var(--amarillo); }
.gz-login__btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--negro); }

/* Botón salir + mensajes del panel */

.gz-panel-logout {
  padding: 10px 18px;
  background: transparent;
  border: 2px solid rgba(251, 248, 220, 0.4);
  border-radius: 999px;
  color: rgba(251, 248, 220, 0.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.gz-panel-logout:hover { border-color: var(--rojo); color: var(--rojo); }

.gz-panel-flash { padding: 16px 24px 0; max-width: 1400px; margin: 0 auto; }

.gz-panel-flash__msg {
  margin: 0 0 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
}
.gz-panel-flash__msg--ok { background: rgba(46, 107, 58, 0.25); border-left: 5px solid var(--verde); color: var(--crema); }
.gz-panel-flash__msg--error { background: rgba(238, 53, 36, 0.2); border-left: 5px solid var(--rojo); color: var(--crema); }

/* Acciones por reserva */

.gz-boleta__acciones {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
  margin-top: auto;
}
.gz-boleta__acciones form { flex: 1; display: flex; }

.gz-boleta__btn {
  flex: 1;
  padding: 10px 8px;
  border: 2px solid;
  background: transparent;
  font-family: var(--archivo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.gz-boleta__btn--mail { border-color: var(--amarillo); color: var(--amarillo); }
.gz-boleta__btn--mail:hover { background: var(--amarillo); color: var(--negro); }
.gz-boleta__btn--quitar { border-color: var(--rojo); color: var(--rojo); }
.gz-boleta__btn--quitar:hover { background: var(--rojo); color: var(--crema); }

/* Boleta ya escaneada en la puerta */

.gz-boleta--usada { border-color: var(--verde); background: rgba(46, 107, 58, 0.12); }
.gz-boleta--usada .gz-boleta__estado { background: var(--verde); color: var(--amarillo); }

.gz-boleta__entrada {
  margin: 0;
  padding: 0 14px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7BD48A;
}

.gz-panel-scan-link {
  padding: 12px 22px;
  background: var(--rojo);
  color: var(--crema);
  font-family: var(--anton);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--negro);
  display: inline-block;
}
.gz-panel-scan-link:hover { background: var(--amarillo); color: var(--negro); }

/* ---------- Escáner de la puerta ---------- */

.gz-scan-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0B0908;
}

.gz-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--negro);
  border-bottom: 3px solid var(--rojo);
}

.gz-scan-head__back {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.75);
}
.gz-scan-head__back:hover { color: var(--amarillo); }

.gz-scan-head__title {
  font-family: var(--anton);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--crema);
}

.gz-scan-head__count {
  font-family: var(--anton);
  font-size: 20px;
  color: rgba(251, 248, 220, 0.55);
}
.gz-scan-head__count strong { color: var(--amarillo); font-weight: normal; }

.gz-scan-stage {
  position: relative;
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.gz-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gz-scan-target {
  position: absolute;
  width: min(66vw, 260px);
  height: min(66vw, 260px);
  border: 4px solid var(--amarillo);
  box-shadow: 0 0 0 100vmax rgba(11, 9, 8, 0.55);
  opacity: 0;
  transition: opacity 300ms ease;
}
.gz-scan-stage.is-live .gz-scan-target { opacity: 1; }

.gz-scan-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 12px 14px;
  background: rgba(20, 16, 14, 0.82);
  color: var(--crema);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}
.gz-scan-stage.is-error .gz-scan-hint {
  position: static;
  background: rgba(238, 53, 36, 0.16);
  border: 2px solid var(--rojo);
  margin: 16px;
}
.gz-scan-stage.is-error .gz-scan-video { display: none; }

/* Resultado a pantalla completa */

.gz-scan-result {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 22px;
  text-align: center;
}
.gz-scan-result--ok { background: var(--verde); color: var(--amarillo); }
.gz-scan-result--usada { background: var(--rojo); color: var(--crema); }
.gz-scan-result--mala { background: var(--negro); color: var(--rojo); }

.gz-scan-result__icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 5px solid currentColor;
}

.gz-scan-result__title {
  font-family: var(--anton);
  font-size: clamp(30px, 9vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}

.gz-scan-result__name {
  font-family: var(--anton);
  font-size: clamp(18px, 5vw, 26px);
  text-transform: uppercase;
  opacity: 0.92;
}

.gz-scan-result__msg {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0.85;
  max-width: 320px;
}

.gz-scan-result__actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(320px, 100%);
}

.gz-scan-result__next {
  padding: 18px 24px;
  background: var(--crema);
  border: none;
  color: var(--negro);
  font-family: var(--anton);
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.gz-scan-result__undo {
  padding: 11px 18px;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Entrada manual */

.gz-scan-manual {
  padding: 14px 16px 20px;
  background: var(--negro);
  border-top: 2px solid rgba(251, 248, 220, 0.15);
}

.gz-scan-manual__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 248, 220, 0.55);
}

.gz-scan-manual__row { display: flex; gap: 8px; }

.gz-scan-manual__input {
  flex: 1;
  min-width: 0;
  padding: 14px 14px;
  border: 3px solid var(--crema);
  background: var(--crema);
  color: var(--negro);
  font-family: var(--anton);
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
}
.gz-scan-manual__input:focus { border-color: var(--amarillo); }

.gz-scan-manual__btn {
  flex: none;
  padding: 14px 20px;
  background: var(--amarillo);
  border: none;
  color: var(--negro);
  font-family: var(--anton);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.gz-scan-manual__btn:hover { background: var(--rojo); color: var(--crema); }
