*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#0b0d0f;
  color:#fff;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  display:block;
  max-width:100%;
}

.topbar{
  height:52px;
  background:#2d5fa9;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding:0 14px;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  overflow:visible;
}

.logo{
  position:relative;
  top:10px;
  z-index:1000;
}

.logo img{
  width:74px;
  height:auto;
}

.top-menu{
  flex:1;
  display:flex;
  justify-content:center;
  gap:80px;
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.38);
  text-transform:uppercase;
  white-space:nowrap;
  padding-top:17px;
}

.top-menu a{
  color:rgba(255,255,255,.38);
}

.top-menu a:hover{
  color:#fff;
}

.login{
  background:#000;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  border-radius:18px;
  padding:8px 15px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  margin-top:6px;
}

.hero{
  margin-top:52px;
  height:520px;
  display:grid;
  grid-template-columns:61% 39%;
  overflow:hidden;
  background:#111;
}

.hero-left{
  position:relative;
  overflow:hidden;
  clip-path:polygon(0 0,100% 0,87% 100%,0 100%);
  z-index:2;
}

.hero-left img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-right{
  margin-left:-105px;
  display:grid;
  grid-template-rows:50% 50%;
  height:100%;
  overflow:hidden;
}

.hero-card{
  position:relative;
  overflow:hidden;
  background:#000;
  height:100%;
  min-height:0;
}

.hero-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.58);
}

.hero-title{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:90%;
  text-align:center;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1.25;
  text-shadow:0 3px 12px rgba(0,0,0,.9);
}

.events{
  background:#0b0d0f;
  padding:18px 0 45px;
}

.events-grid{
  width:min(1180px,94%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.event-card{
  background:#111417;
  border:1px solid #30343a;
  border-radius:5px;
  overflow:hidden;
  transition:.18s ease;
}

.event-card:hover{
  transform:translateY(-2px);
  border-color:#3d444d;
}

.event-img{
  position:relative;
  height:150px;
  background:#000;
  overflow:hidden;
}

.event-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.badge{
  position:absolute;
  top:9px;
  right:9px;
  background:#081712;
  color:#16d789;
  border:1px solid rgba(22,215,137,.35);
  border-radius:7px;
  padding:5px 9px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:6px;
}

.badge::before{
  content:"";
  width:9px;
  height:9px;
  background:#20cf86;
  border-radius:50%;
  display:block;
}

.event-body{
  display:flex;
  gap:12px;
  padding:13px 14px 15px;
  min-height:92px;
}

.date{
  width:40px;
  min-width:40px;
  line-height:1;
}

.month{
  color:#ff3c35;
  font-size:14px;
  font-weight:800;
  margin-bottom:7px;
  text-transform:lowercase;
}

.day{
  font-size:24px;
  font-weight:400;
  color:#fff;
}

.info{
  flex:1;
  min-width:0;
}

.title{
  font-size:16px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1.2;
  margin-bottom:6px;
  color:#fff;
}

.subdate{
  font-size:14px;
  color:#fff;
  margin-bottom:5px;
}

.place{
  font-size:13px;
  color:#cfcfcf;
  text-transform:uppercase;
  line-height:1.35;
}

.footer{
  width:min(1180px,94%);
  margin:0 auto;
  padding:0 0 45px;
}

.footer img{
  width:72px;
  margin-bottom:12px;
}

.footer h3{
  font-size:17px;
  margin-bottom:12px;
}

.footer p{
  font-size:14px;
  color:#aeb4bc;
  font-weight:700;
}

/* MODAL */
.modal-proximamente{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.78);
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.modal-proximamente.active{
  display:flex;
}

.modal-box{
  position:relative;
  width:min(430px,94vw);
  background:#101418;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 25px 70px rgba(0,0,0,.65);
  animation:modalEntrada .22s ease;
}

@keyframes modalEntrada{
  from{
    opacity:0;
    transform:translateY(18px) scale(.96);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:24px;
  line-height:34px;
  cursor:pointer;
  z-index:2;
}

.modal-img{
  width:100%;
  background:#000;
  padding:12px 12px 0;
}

.modal-img img{
  width:100%;
  max-height:310px;
  object-fit:contain;
  border-radius:12px;
  display:block;
  background:#000;
}

.modal-info{
  text-align:center;
  padding:18px 20px 22px;
}

.modal-info span{
  display:inline-block;
  background:#16d789;
  color:#07120d;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  margin-bottom:12px;
}

.modal-info h2{
  color:#fff;
  font-size:24px;
  line-height:1.1;
  text-transform:uppercase;
  margin-bottom:9px;
}

.modal-info p{
  color:#cfd5dd;
  font-size:15px;
  font-weight:700;
  margin-bottom:16px;
  text-transform:uppercase;
}

.modal-btn{
  width:100%;
  border:none;
  border-radius:12px;
  background:#2d5fa9;
  color:#fff;
  font-size:15px;
  font-weight:900;
  padding:13px 16px;
  cursor:pointer;
}

.modal-btn:hover{
  background:#3970c3;
}

/* PESTAÑA FLOTANTE */
.floating-palenque-tab{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99998;
  display:none;
  align-items:center;
  gap:10px;
  background:#101418;
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:12px 16px;
  box-shadow:0 12px 35px rgba(0,0,0,.55);
  cursor:pointer;
  font-family:Arial, Helvetica, sans-serif;
  animation:floatingEntrada .25s ease;
}

.floating-palenque-tab.show{
  display:flex;
}

@keyframes floatingEntrada{
  from{
    opacity:0;
    transform:translateY(16px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.floating-palenque-tab span{
  background:#16d789;
  color:#07120d;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.03em;
}

.floating-palenque-tab strong{
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
}

.floating-palenque-tab:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.32);
}

/* RESPONSIVE */
@media(max-width:1000px){
  .events-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .top-menu{
    gap:25px;
    font-size:11px;
  }
}

@media(max-width:760px){
  .top-menu{
    display:none;
  }

  .hero{
    display:block;
    height:auto;
  }

  .hero-left{
    height:260px;
    clip-path:none;
  }

  .hero-right{
    margin-left:0;
    display:block;
  }

  .hero-card{
    height:220px;
  }

  .hero-title{
    font-size:15px;
  }
}

@media(max-width:600px){
  .events-grid{
    grid-template-columns:1fr;
  }

  .event-img{
    height:175px;
  }

  .logo img{
    width:58px;
  }

  .login{
    font-size:11px;
    padding:7px 11px;
  }

  .modal-proximamente{
    padding:14px;
  }

  .modal-box{
    width:94vw;
    border-radius:16px;
  }

  .modal-img{
    padding:10px 10px 0;
  }

  .modal-img img{
    max-height:58vh;
    object-fit:contain;
  }

  .modal-info{
    padding:15px 16px 18px;
  }

  .modal-info h2{
    font-size:20px;
  }

  .modal-info p{
    font-size:13px;
  }

  .floating-palenque-tab{
    left:12px;
    right:12px;
    bottom:14px;
    justify-content:center;
    border-radius:16px;
    padding:12px 10px;
    gap:8px;
  }

  .floating-palenque-tab span{
    font-size:10px;
    padding:6px 8px;
  }

  .floating-palenque-tab strong{
    font-size:12px;
  }
}