:root{

  /* ===== COLORES ===== */

  --rojo:#991b1b;
  --rojo-light:#b91c1c;
  --rojo-hover:#7f1010;

  --rojo-soft:rgba(153,27,27,.08);

  --crema:#fafafa;
  --blanco:#ffffff;

  --gris-texto:#1f2937;
  --gris-suave:#6b7280;

  --gris-borde:#ececec;

  /* ===== SOMBRAS ===== */

  --sombra-suave:
    0 4px 12px rgba(0,0,0,.05);

  --sombra-media:
    0 8px 24px rgba(0,0,0,.08);

  --sombra-hover:
    0 14px 32px rgba(0,0,0,.12);

  /* ===== RADIOS ===== */

  --radio-sm:8px;
  --radio-md:14px;
  --radio-lg:18px;
  --radio-full:999px;

  /* ===== TRANSICIONES ===== */

  --transition:.25s ease;

}



/* ===== RESET ===== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}



/* ===== BODY ===== */

body{

  font-family:'Poppins',sans-serif;

  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 65%,#e2e8f0 100%);

  color:var(--gris-texto);

  padding:30px 22px 40px;

  line-height:1.65;

  min-height:100vh;

  overflow-x:hidden;

}



/* ===== CONTAINER ===== */

.container{
  width:min(1080px,100%);
  margin:auto;
}



/* ===== HEADER ===== */

.header{

  background:
    linear-gradient(135deg, var(--rojo), var(--rojo-light));

  color:white;

  padding:38px 32px;

  border-radius:26px;

  text-align:center;

  margin-bottom:32px;

  box-shadow:0 24px 60px rgba(153,27,27,.18);

  position:relative;

  overflow:hidden;

}



.header::before{

  content:'';

  position:absolute;

  inset:0;

  background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(120deg, rgba(255,255,255,.12), transparent 50%);

  pointer-events:none;

}



.header h1{

  font-family:'Orbitron',sans-serif;

  font-size:clamp(2.2rem,5vw,3.4rem);

  letter-spacing:1px;

  position:relative;

  z-index:1;

}



.header p{

  margin-top:14px;

  opacity:.95;

  position:relative;

  z-index:1;

  max-width:760px;

  margin-left:auto;

  margin-right:auto;

}



/* ===== NAV ===== */

.nav{

  display:flex;

  justify-content:center;

  gap:12px;

  flex-wrap:wrap;

  margin-bottom:32px;

}



.nav button{

  min-width:150px;

  padding:12px 20px;

  border:none;

  border-radius:999px;

  cursor:pointer;

  background:rgba(255,255,255,.9);

  color:var(--gris-texto);

  font-weight:700;

  transition:var(--transition), transform .2s ease;

  box-shadow:0 12px 28px rgba(15,23,42,.08);

  border:1px solid rgba(15,23,42,.08);

}



.nav button:hover{

  transform:translateY(-1px);

  background:rgba(153,27,27,.1);

  border-color:rgba(153,27,27,.18);

}



.active-tab{

  background:var(--rojo);

  color:white;

  box-shadow:0 14px 30px rgba(153,27,27,.18);

}



/* ===== CARDS ===== */

.card{

  background:#ffffff;

  padding:30px;

  border-radius:28px;

  box-shadow:0 30px 80px rgba(15,23,42,.1);

  margin-bottom:32px;

  border:1px solid rgba(15,23,42,.08);

  transition:transform .25s ease, box-shadow .25s ease;

}



.card:hover{

  transform:translateY(-4px);

  box-shadow:0 36px 96px rgba(15,23,42,.14);

}



/* ===== CARD TOP ===== */

.card-top{

  display:flex;

  justify-content:space-between;

  gap:32px;

  align-items:center;

  flex-wrap:wrap;

}



/* ===== COPY ===== */

.card-copy h2{

  color:var(--rojo);

  margin-bottom:14px;

  font-size:clamp(1.6rem,2.2vw,2.4rem);

}



.card-copy p{

  color:var(--gris-suave);

  max-width:720px;

}



.card-logo-wrapper{

  width:360px;

  height:360px;

  display:flex;

  justify-content:center;

  align-items:center;

  margin:auto;

  padding:4px;

  border-radius:6px;

  background:rgba(245,247,250,.95);

  border:1px solid rgba(15,23,42,.06);

}



.card-logo{

  width:120%;

  height:120%;

  object-fit:contain;

  border-radius:10px;

}



.status-badge{

  display:inline-flex;

  align-items:center;

  gap:6px;

  padding:5px 12px;

  border-radius:999px;

  font-size:10px;

  font-weight:700;

  letter-spacing:.08em;

  text-transform:uppercase;

}

.completed{

  background:#dcfce7;

  color:#166534;

}



.current{

  background:#fee2e2;

  color:#991b1b;

}



.upcoming{

  background:#fef3c7;

  color:#92400e;

}



/* ===== ACTIONS ===== */

.card-actions{

  display:flex;

  flex-wrap:wrap;

  gap:14px;

  margin-top:26px;

  justify-content:flex-start;

}



/* ===== BUTTON ===== */

.comp-btn{

  text-decoration:none;

  background:var(--rojo);

  color:white;

  padding:14px 22px;

  border-radius:999px;

  font-weight:700;

  transition:var(--transition), transform .2s ease;

  box-shadow:0 16px 34px rgba(153,27,27,.16);

}



.comp-btn:hover{

  background:var(--rojo-hover);

  transform:translateY(-2px);

}



/* ===== LOGO RESET ===== */

.card-logo{

  width:100%;

  height:100%;

  object-fit:contain;

  border-radius:20px;

}



/* fallback */

.card-logo-fallback{

  display:none;

  width:100%;

  height:100%;

  background:var(--crema);

  justify-content:center;

  align-items:center;

  flex-direction:column;

  border-radius:var(--radio-md);

}



/* ===== SECTION ===== */

.section{
  display:none;
}

.section.active{
  display:block;
}



/* ===== DIVIDER ===== */

.divider{

  height:1px;

  background:var(--gris-borde);

  margin:24px 0;

}



/* ===== FOOTER ===== */

.footer{

  text-align:center;

  margin-top:50px;

  color:var(--gris-suave);

  font-size:14px;

}



/* ================================================= */
/* ===== ORGANIZERS SECTION ===== */
/* ================================================= */

.organizers-section{

  margin-top:24px;

  padding:24px;

  background:#f8fafc;

  border-radius:24px;

  border:1px solid rgba(15,23,42,.08);

  box-shadow:0 18px 40px rgba(15,23,42,.08);

}



.organizers-title{

  display:flex;

  align-items:center;

  gap:10px;

  margin-bottom:18px;

  color:var(--rojo);

  font-size:13px;

  font-weight:700;

  text-transform:uppercase;

  letter-spacing:.08em;

}



.organizers-title::before{

  content:'';

  width:10px;

  height:10px;

  border-radius:50%;

  background:var(--rojo);

  display:inline-block;

}



/* ===== LIST ===== */

.organizers-list{

  list-style:disc inside;

  display:grid;

  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

  gap:12px 18px;

}



/* ===== ITEM ===== */

.organizer-item{

  display:flex;

  align-items:flex-start;

  gap:12px;

  padding:10px 12px;

  border-radius:14px;

  background:white;

  border:1px solid rgba(15,23,42,.06);

  transition:transform .25s ease, box-shadow .25s ease;

  position:relative;

}



.organizer-item::before{

  content:'•';

  position:absolute;

  left:14px;

  top:50%;

  transform:translateY(-50%);

  color:#111111;

  font-size:16px;

  line-height:1;

}



.organizer-item:hover{

  transform:translateY(-1px);

  box-shadow:0 10px 26px rgba(15,23,42,.08);

}



/* ===== INFO ===== */

.organizer-info{
  flex:1;
}



.organizer-name{

  font-size:14px;

  font-weight:600;

  line-height:1.4;

  color:var(--gris-texto);

}



.organizer-role{

  font-size:12px;

  color:var(--gris-suave);

  margin-top:4px;

  line-height:1.5;

}



/* ================================================= */
/* ===== RESPONSIVE ===== */
/* ================================================= */

@media(max-width:768px){

  body{
    padding:16px;
  }

  .header{
    padding:34px 22px;
  }

  .card{
    padding:22px;
  }

  .card-top{

    flex-direction:column;

    align-items:center;

    text-align:center;

  }

  .card-copy{
    width:100%;
  }

  .card-logo-wrapper{

    width:240px;

    height:240px;

    margin-top:4px;

  }

  .card-actions{
    justify-content:center;
  }

  .organizers-list{
    grid-template-columns:1fr;
  }

}

body::before{
  content:'';
  position:fixed;
  inset:0;

  background:
    radial-gradient(
      rgba(153,27,27,.04) 1px,
      transparent 1px
    );

  background-size:30px 30px;

  pointer-events:none;

  z-index:-1;
}


