/* ===================== VARIABLES ===================== */
:root{
  --purple-dark: #1a0b2e;
  --purple: #2d1854;
  --pink: #ff2d95;
  --teal: #2de2c9;
  --yellow: #ffd23f;
  --orange: #ff7a3d;
  --blue: #3d5aff;
  --text-light: #f5f0ff;
  --text-dim: #c9baf5;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --font-display: "Press Start 2P", cursive;
  --font-body: "Poppins", sans-serif;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--purple-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.container{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn{
  display: inline-block;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-3px); }
.btn-primary{
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,45,149,.35);
}
.btn-outline{
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover{ background: rgba(45,226,201,.12); }

/* ===================== HEADER / NAV ===================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,11,46,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo{
  font-family: var(--font-display);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span{ color: var(--pink); }
.logo img{
  height: 48px;
  width: auto;
  display: block;
}
.logo-footer img{ height: 56px; }
.main-nav{
  display: flex;
  gap: 28px;
}
.main-nav a{
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--teal); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ===================== HERO ===================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,45,149,.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(45,226,201,.3), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(61,90,255,.35), transparent 55%),
    linear-gradient(180deg, var(--purple-dark), var(--purple));
  z-index: 0;
}
.hero-bg::after{
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7) 40%, transparent 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}
.eyebrow{
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--teal);
  border: 1px solid rgba(45,226,201,.4);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-logo{
  width: min(380px, 70vw);
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 10px 30px rgba(255,45,149,.35));
}
.hero h1{
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.3;
  color: var(--text-light);
  margin-bottom: 24px;
}
.hero-sub{
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.hero-cta{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note{
  color: var(--text-dim);
  font-size: .9rem;
}

/* ===================== SECTIONS ===================== */
.section{
  padding: 96px 0;
}
.section-alt{
  background: var(--purple);
}
.section-activities{
  background: linear-gradient(180deg, var(--purple-dark), var(--purple) 60%, var(--purple-dark));
}
.section-tag{
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-tag-light{ color: var(--yellow); }
.next-badge{
  background: var(--yellow);
  color: var(--purple-dark) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  letter-spacing: .06em;
}
.section h2{
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 24px;
  font-weight: 800;
}
.section-intro{
  color: var(--text-dim);
  max-width: 700px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.two-col{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col p{ margin-bottom: 16px; color: var(--text-dim); }
.two-col p strong{ color: var(--text-light); }

.stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat-num{
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 8px;
}
.stat-label{
  font-size: .82rem;
  color: var(--text-dim);
}

/* ===================== CARDS ===================== */
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.info-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.info-card:hover{
  transform: translateY(-4px);
  border-color: var(--teal);
}
.info-icon{
  font-size: 2rem;
  margin-bottom: 14px;
}
.icon-tile{
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.it-g1{ background: linear-gradient(135deg, #ff2d95, #ff7a3d); }
.it-g2{ background: linear-gradient(135deg, #3d5aff, #2de2c9); }
.it-g3{ background: linear-gradient(135deg, #ffd23f, #ff7a3d); }
.it-g4{ background: linear-gradient(135deg, #7b2ff7, #ff2d95); }
.it-g5{ background: linear-gradient(135deg, #2de2c9, #3d5aff); }
.it-g6{ background: linear-gradient(135deg, #ff7a3d, #ffd23f); }
.it-g7{ background: linear-gradient(135deg, #3d5aff, #7b2ff7); }
.it-g8{ background: linear-gradient(135deg, #ff2d95, #7b2ff7); }
.info-card h3{
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.info-card p{
  color: var(--text-dim);
  font-size: .95rem;
}

.poster-strip{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 460px;
}
.edition-card-contain img{
  object-fit: contain;
  background: #000;
}

.quote-block{
  border-left: 4px solid var(--pink);
  padding: 8px 24px;
  font-style: italic;
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 700px;
}

/* ===================== GALLERY ===================== */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.gallery-card{
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px;
  font-weight: 600;
  font-size: .88rem;
  color: #fff;
}
.gallery-card span{ font-size: 2.4rem; }
.gallery-card p{ margin: 0; }
.gallery-card-photo{
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #000;
}
.gallery-card-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-card-photo:hover img{ transform: scale(1.06); }
.gallery-card-photo p{
  position: relative;
  z-index: 1;
  align-self: stretch;
  text-align: left;
  padding: 28px 14px 12px;
  margin-top: auto;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  font-size: .82rem;
}
.g1{ background: linear-gradient(135deg, #ff2d95, #ff7a3d); }
.g2{ background: linear-gradient(135deg, #3d5aff, #2de2c9); }
.g3{ background: linear-gradient(135deg, #ffd23f, #ff7a3d); }
.g4{ background: linear-gradient(135deg, #7b2ff7, #ff2d95); }
.g5{ background: linear-gradient(135deg, #2de2c9, #3d5aff); }
.g6{ background: linear-gradient(135deg, #ff7a3d, #ffd23f); }
.g7{ background: linear-gradient(135deg, #3d5aff, #7b2ff7); }
.g8{ background: linear-gradient(135deg, #ff2d95, #7b2ff7); }

.video-wrap h3{ margin-bottom: 18px; font-size: 1.2rem; }
.video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.video-embed iframe,
.video-embed video{
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  background: #000;
}
.video-placeholder{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-dim);
}
.video-placeholder span{ font-size: 2.4rem; }
.hint{
  font-size: .82rem;
  color: var(--text-dim);
  opacity: .75;
  margin-top: 14px;
}
.hint-light{ text-align: center; }

/* ===================== EDITIONS ===================== */
.editions-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.edition-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.edition-card img{ width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.edition-card p{
  padding: 12px 14px;
  font-size: .85rem;
  color: var(--text-dim);
}

/* ===================== NEXT FAIR ===================== */
.section-next{
  background: linear-gradient(135deg, #3d1854, #1a0b2e 70%);
  position: relative;
}
.next-fair-card{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 32px;
  align-items: center;
}
.next-fair-poster img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.next-fair-info p{
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.organiza{
  color: var(--text-dim);
  font-size: .85rem !important;
  margin-top: 4px !important;
}
.countdown{
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.cd-item{
  background: rgba(0,0,0,.3);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  min-width: 68px;
}
.cd-item span{
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--yellow);
}
.cd-item small{
  font-size: .68rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ===================== INSTAGRAM ===================== */
.ig-block{ display: grid; gap: 24px; }
.ig-follow-card{
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,45,149,.18), rgba(123,47,247,.18));
  border: 1px solid rgba(255,45,149,.35);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform .2s ease;
}
.ig-follow-card:hover{ transform: translateY(-3px); }
.ig-avatar{
  font-size: 2.2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ig-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.ig-follow-card strong{ font-size: 1.05rem; }
.ig-follow-card p{ color: var(--text-dim); font-size: .9rem; margin-top: 4px; }
.ig-arrow{ margin-left: auto; font-size: 1.4rem; color: var(--teal); }
.ig-feed-placeholder{
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
}

/* ===================== MAP ===================== */
.two-col-map{ grid-template-columns: 1.2fr .8fr; }
.map-embed{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.map-info h3{ margin-bottom: 12px; font-size: 1.3rem; }
.map-info p{ margin-bottom: 14px; color: var(--text-dim); }
.map-info .btn{ margin-right: 12px; margin-bottom: 12px; }

/* ===================== FORMULARIO EXPOSITORES ===================== */
.hidden-field{ position: absolute; left: -9999px; top: -9999px; }
.exhibitor-form{ max-width: 760px; }
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.form-field-full{ grid-column: 1 / -1; }
.form-field label{
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea{
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: .95rem;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--teal);
}
.exhibitor-form .btn{
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.form-success{
  background: rgba(45,226,201,.12);
  border: 1px solid rgba(45,226,201,.4);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 760px;
}

/* ===================== FAQ ===================== */
.faq-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
}
.faq-item{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary{
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item[open] summary::after{ content: "–"; }
.faq-item p{
  color: var(--text-dim);
  margin-top: 12px;
  font-size: .95rem;
}

/* ===================== FOOTER ===================== */
.footer{
  background: #120820;
  padding: 64px 0 0;
}
.footer-content{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo-footer{ margin-bottom: 12px; display: inline-block; }
.footer-content > div > p{ color: var(--text-dim); font-size: .9rem; }
.footer-links h4{ font-size: .9rem; margin-bottom: 14px; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; }
.footer-links p{ margin-bottom: 10px; }
.footer-links a{ color: var(--text-dim); font-size: .92rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--pink); }
.footer-bottom{
  text-align: center;
  padding: 24px 0;
  color: var(--text-dim);
  font-size: .82rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(26,11,46,.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.open{ transform: translateY(0); opacity: 1; }
  .nav-toggle{ display: flex; }
  .two-col, .two-col-map{ grid-template-columns: 1fr; }
  .next-fair-card{ grid-template-columns: 1fr; }
  .footer-content{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .hero-cta{ flex-direction: column; }
  .cd-item{ min-width: 56px; padding: 10px 12px; }
}
