/*!
Theme Name: innovations
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Tema para Adecco Innovation Awards
Version: 1.0.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: innovations
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

innovations is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

:root{
  --red:#e6002e;
  --red-dark:#b80024;
  --black:#0a0a0a;
  --ink:#1a1a1a;
  --muted:#5b5b5b;
  --bg:#ffffff;
  --soft:#faf7f5;
  --line:#ececec;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.site-main{
  margin:0 auto;
  max-width:1140px;
}

/* Header */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  font-family:'Nunito',sans-serif;
}
.nav{display:flex;align-items:center;justify-content:space-between;height:84px;gap:24px}
.brand{display:flex;align-items:center;gap:18px}
.brand .logo-aia{
  display:flex;align-items:center;
}
.brand .logo-aia img{
  height:70px;
  width:auto;
}
.brand .tec{
  height:55px !important;
  width:auto;
}
nav ul{list-style:none;display:flex;gap:6px;align-items:center}
nav a{
  padding:13px 16px;border-radius:15px;font-weight:600;font-size:15px;
  font-family:'Nunito',sans-serif;
  transition:.2s;color:var(--ink);
}
nav a:hover{background:#f3f3f3}
nav a.active{background:var(--black);color:#fff}
.menu-btn{display:none;background:none;border:0;font-size:26px;cursor:pointer}

/* Hero */
.hero{
  position:relative;overflow:hidden;
  min-height:100vh;
  max-height:1000px;
  padding:90px 0 120px;
  background-size:cover;
  background-position:center;
  background-image:url('images/awards-bg-2.jpg');
  transition:background-image 0.5s ease;
  display:flex;
  align-items:center;
}
.hero::before, .hero::after{
  content:"";position:absolute;pointer-events:none;
  background:
    radial-gradient(closest-side, rgba(230,0,46,.12), transparent 70%);
}
.waves{
  position:absolute;inset:0;z-index:0;opacity:.55;
  background-image:
    repeating-radial-gradient(circle at 100% 50%, rgba(230,0,46,.16) 0 1px, transparent 1px 14px),
    repeating-radial-gradient(circle at 0% 80%, rgba(230,0,46,.12) 0 1px, transparent 1px 18px);
  mask-image:linear-gradient(180deg,#000 60%,transparent 100%);
}
.blob{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:520px;height:520px;
  display:none;place-items:center;
  opacity:.95;z-index:0;
}
.hero{
  perspective:1000px;
}
.blob img{
  width:1510px;
  max-width:1510px;
  height:1510px;
  margin-top:-995.5px;
  transition:transform 0.1s ease;
  transform-style:preserve-3d;
  position:relative;
  right:-20%;
}
.hero .container{position:relative;z-index:1;width:100%}
.hero h1{
  font-family:'Outfit',sans-serif;
  font-size:clamp(48px,7.5vw,112px);
  line-height:.95;letter-spacing:1px;
  text-transform:uppercase;
  max-width:900px;
  color:#fff;
}
.hero h1 .red{color:var(--red);display:block}
.pill{
  display:inline-flex;align-items:center;gap:14px;
  margin-top:64px;padding:14px 28px 14px 14px;
  background:var(--black);color:#fff;border-radius:999px;
  font-weight:700;letter-spacing:1.5px;font-size:14px;
}
.pill .dot{
  width:38px;height:38px;border-radius:50%;background:var(--red);
  display:grid;place-items:center;color:#fff;font-size:18px;
}

/* Parallax Backgrounds */
.parallax-bg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  z-index:0;
  pointer-events:none;
}

/* Sections */
section{padding:100px 0;position:relative}
section>.container{position:relative;z-index:1}
.eyebrow{
  font-family:'Nunito',sans-serif;
  font-weight:700;font-size:35px;letter-spacing:0;
  margin-bottom:14px;
}
h2{
  font-family:'Anton',sans-serif;font-size:clamp(36px,5vw,64px);
  line-height:1;text-transform:uppercase;letter-spacing:.5px;
  margin-bottom:32px;
}
h2 .red{color:var(--red)}
p.lead{font-size:16px;color:#333;max-width:900px}
p.lead + p.lead{margin-top:18px}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--red);color:#fff;font-weight:700;letter-spacing:1px;
  padding:16px 34px;border-radius:999px;text-transform:uppercase;
  font-size:14px;transition:.2s;border:0;cursor:pointer;
}
.btn:hover{background:var(--red-dark);transform:translateY(-2px)}
.btn.outline{background:transparent;color:var(--black);border:2px solid var(--black)}
.btn.outline:hover{background:var(--black);color:#fff}
.btn-black{background:var(--black);color:#fff}
.btn-black:hover{background:var(--ink);color:#fff}

#about{background:var(--soft);position:relative;overflow:hidden;color:#fff}
#about .eyebrow{color:#fff}
#about .lead{color:#fff}
section{position:relative;overflow:hidden}
#categorias{padding:40px 0 60px}
#categorias .eyebrow{color:#000}

/* Categories */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:48px}
.cat{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:0;transition:.25s;
  overflow:hidden;
}
.cat:hover{transform:translateY(-6px);box-shadow:0 20px 40px -20px rgba(230,0,46,.25);border-color:var(--red)}
.icon{
  display:grid;place-items:center;
  font-size:28px;
}
.icon img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.cat-content{
  padding:32px 26px;
}
.cat h3{
  font-family:'Nunito',sans-serif;
  font-size:24px;font-weight:700;color:#EB003F;
  line-height:1.05;margin-bottom:14px;
}
.cat p{
  font-family:'Nunito',sans-serif;
  font-size:14px;
  font-weight:400;
}

/* Jurado */
#jurado{background:var(--black);color:#fff}
#jurado h2,#jurado .eyebrow{color:#fff}
#jurado h2 .red{color:var(--red)}
#jurado p.lead{color:#cfcfcf}
.jury-slider{position:relative;margin-top:56px}
.jury{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  gap:20px;
  width:100%;
}
.judge{
  width:100%;
}
/* Primeros 5: fila superior */
.judge:nth-child(1){grid-column:1;grid-row:1;}
.judge:nth-child(2){grid-column:2;grid-row:1;}
.judge:nth-child(3){grid-column:3;grid-row:1;}
.judge:nth-child(4){grid-column:4;grid-row:1;}
.judge:nth-child(5){grid-column:5;grid-row:1;}
/* Últimos 4: fila inferior */
.judge:nth-child(6){grid-column:1;grid-row:2;}
.judge:nth-child(7){grid-column:2;grid-row:2;}
.judge:nth-child(8){grid-column:3;grid-row:2;}
.judge:nth-child(9){grid-column:4;grid-row:2;}
.jury-wrapper{
  overflow:visible;
  position:relative;
}
.slider-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  background:var(--red);color:#fff;border:0;
  width:50px;height:50px;border-radius:50%;
  font-size:30px;cursor:pointer;z-index:10;
  transition:background .3s;
  display:none; /* Ocultar arrows en desktop */
}
.slider-arrow:hover{background:var(--red-dark)}
.slider-arrow-prev{left:-25px}
.slider-arrow-next{right:-25px}
.slider-dots{
  display:flex;justify-content:center;gap:12px;
  margin-top:32px;
  /* Ocultar dots en desktop */
}
.slider-dots button{
  width:12px;height:12px;border-radius:50%;
  background:rgba(255,255,255,.3);border:0;cursor:pointer;
  transition:background .3s;
  display:none; /* Ocultar dots en desktop */
}
.slider-dots button.active{background:var(--red)}
.judge{
  background:#161616;border-radius:18px;overflow:hidden;
  border:1px solid #222;transition:.25s;
}
.judge:hover{transform:translateY(-4px);border-color:var(--red)}
.judge .ph{
  aspect-ratio:1/1;background:linear-gradient(135deg,#2a2a2a,#111);
  display:grid;place-items:center;color:#444;font-family:'Anton';font-size:80px;
  border-bottom:4px solid var(--red);
  overflow:hidden;
}
.judge .ph img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.judge .body{padding:24px}
.judge .tag{color:var(--red);font-size:12px;letter-spacing:2px;font-weight:700;text-transform:uppercase}
.judge h4{font-family:'Anton',sans-serif;font-size:26px;text-transform:uppercase;margin:8px 0;letter-spacing:.5px}
.judge .role{font-size:13.5px;color:#aaa;margin-bottom:14px}
.judge details{font-size:13.5px;color:#bbb}
.judge details summary{cursor:pointer;color:var(--red);font-weight:600;list-style:none}
.judge details summary::after{content:" +";font-weight:700}
.judge details[open] summary::after{content:" −"}
.judge details p{margin-top:10px;line-height:1.7}

/* Jury Bio Overlay inside judge card */
.judge{
  position:relative;
}
.jury-bio-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#EB003F;
  z-index:10;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  border-radius:18px;
}
.jury-bio-overlay.active{display:flex}
.jury-bio-content{
  padding:0;
  width:100%;
  height:100%;
  position:relative;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
}
.jury-bio-content::-webkit-scrollbar{
  width:8px;
}
.jury-bio-content::-webkit-scrollbar-track{
  background:rgba(255,255,255,.1);
  border-radius:4px;
}
.jury-bio-content::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.3);
  border-radius:4px;
}
.jury-bio-content::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.5);
}
.jury-bio-close{
  position:absolute;
  top:0;
  right:0;
  background:none;
  border:none;
  font-size:28px;
  cursor:pointer;
  color:#fff;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:background .3s;
  flex-shrink:0;
  z-index:1;
}
.jury-bio-close:hover{background:rgba(255,255,255,.2)}
.jury-bio-text{
  font-size:14px;
  line-height:1.6;
  color:#fff;
  margin-top:30px;
  overflow-y:auto;
  flex:1;
}

/* Requisitos */
#requisitos{background:var(--black);color:#fff}
#requisitos .eyebrow{color:#fff}
#requisitos h2{color:#fff}
#requisitos p.lead{color:#cfcfcf}
.req{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:48px}
.req .card{
  border-radius:18px;padding:30px;
}
.req h3{font-family:'Anton',sans-serif;text-transform:uppercase;font-size:22px;margin-bottom:14px;letter-spacing:.5px}
.req p, .req li{color:#fff;font-size:15px}
.req ul{list-style:none;display:grid;gap:8px}
.req ul li::before{
  content:"›";
  color:var(--red);
  font-weight:700;
  margin-right:8px
}
.cta-row{margin-top:40px;text-align:center}

/* Calendario */
#calendario{background:var(--soft)}
.timeline{
  position:relative;margin-top:56px;
  display:flex;align-items:center;gap:20px;
}
.timeline-arrow{
  flex-shrink:0;
  background:none;border:0;
  width:50px;height:50px;border-radius:50%;
  font-size:30px;cursor:pointer;
  transition:background .3s;
  color:#666;
}
.timeline-arrow:hover{background:rgba(0,0,0,.1)}
.timeline-arrow:disabled{opacity:.3;cursor:not-allowed}
.timeline-wrapper{
  flex:1;
  overflow:hidden;
  position:relative;
}
.timeline-track{
  display:flex;gap:10px;
  transition:transform 0.3s ease;
  position:relative;
}
.timeline-track::before{
  content:"";
  position:absolute;
  top:46%;
  left:0;
  width:100%;
  height:3px;
  background:#000;
  transform:translateY(-50%);
  z-index:0;
}
.milestone{
  position:relative;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  z-index:1;
  padding:0 10px;
}
.milestone-date{
  font-family:'Nunito',sans-serif;
  font-weight:700;
  font-size:23px;
  color:#000;
  text-align:center;
}
.milestone-icon{
  width:50px;
  height:50px;
  border-radius:50%;
  background:var(--red);
  border:2px solid #000;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.milestone-icon svg{
  width:20px;
  height:20px;
}
.milestone-event{
  background:#000;
  color:#fff;
  padding:16px 20px;
  border-radius:8px;
  font-family:'Nunito',sans-serif;
  font-size:17px;
  font-weight:600;
  text-align:center;
  white-space:nowrap;
  max-width:100%;
}

/* Edition */
#edicion{background:var(--black);color:#fff}
#edicion .eyebrow{color:#fff}
#edicion h2{color:#fff}
#edicion .lead{color:#fff}
.video-wrap{
  margin-top:40px;border-radius:18px;overflow:hidden;
  aspect-ratio:16/9;box-shadow:0 30px 60px -30px rgba(0,0,0,.4);
}
.video-wrap iframe{width:100%;height:100%;border:0}

/* Contacto */
#contacto{
  background:var(--soft);
  padding:80px 0;
}
.contact-wrapper{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
}
.contact-info{
  flex:1;
}
.contact-info h2{
  font-family:'Nunito',sans-serif;
  font-size:48px;
  font-weight:700;
  color:#000;
  margin-bottom:16px;
  line-height:1;
}
.contact-info p{
  font-family:'Nunito',sans-serif;
  font-size:18px;
  color:#333;
  margin-bottom:12px;
}
.email-link{
  font-family:'Nunito',sans-serif;
  font-size:18px;
  color:var(--red);
  text-decoration:underline;
  font-weight:600;
}
.email-link:hover{
  color:var(--red-dark);
}
.contact-logo{
  flex-shrink:0;
}
.contact-logo img{
  width:120px;
  height:auto;
}

/* Aliados */
#aliados{
  background:#fff;
}
.aliados-wrapper{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:nowrap;
  margin-top:50px;
}
.aliado-card{
  text-align:center;
  max-width:300px;
}
.aliado-card a{
  display:block;
  text-decoration:none;
  transition:transform 0.3s ease, opacity 0.3s ease;
}
.aliado-card a:hover{
  transform:scale(1.05);
  opacity:0.9;
}
.aliado-logo{
  width:200px;
  height:200px;
  object-fit:contain;
}
.proximamente{
  margin-top:50px;
  text-align:center;
}
.proximamente p{
  font-family:'Nunito',sans-serif;
  font-size:18px;
  font-weight:600;
  color:var(--red);
  margin:0;
}

/* Footer */
footer{
  background:var(--black);
  color:#aaa;
  padding:40px 0;
}
.footer-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.copyright{
  font-family:'Nunito',sans-serif;
  font-size:14px;
  color:#999;
  margin:0;
}
.footer-right{
  display:flex;
  align-items:center;
  gap:16px;
}
.nos-acompana{
  font-family:'Nunito',sans-serif;
  font-size:14px;
  color:#999;
}
.tec-logo{
  height:40px;
  width:auto;
  background:#fff;
  padding:8px;
  border-radius:4px;
}

/* 404 Page */
.error-404{
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:100px 0;
}
.error-404-content{
  text-align:center;
}
.error-number{
  font-family:'Anton',sans-serif;
  font-size:clamp(120px,15vw,200px);
  font-weight:700;
  color:var(--red);
  line-height:1;
  margin-bottom:20px;
}
.error-title{
  font-family:'Nunito',sans-serif;
  font-size:clamp(28px,4vw,48px);
  font-weight:700;
  color:var(--black);
  margin-bottom:16px;
}
.error-description{
  font-family:'Nunito',sans-serif;
  font-size:18px;
  color:var(--muted);
  margin-bottom:40px;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}
.error-actions{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}

@media (max-width: 900px){
  nav ul{display:none}
  .menu-btn{display:block}
  .cats,.req{grid-template-columns:1fr 1fr}
  .blob{width:340px;height:340px;right:-160px}
  section{padding:70px 0}
  /* Tablet: Slider con 2 cards */
  .jury{
    display:flex;
    gap:28px;
    transition:transform 0.3s ease;
  }
  .judge{
    flex:0 0 calc((100% - 28px) / 2);
    width:auto;
  }
  .jury-wrapper{
    overflow:hidden;
  }
  .slider-arrow{
    display:block;
  }
  .slider-arrow-prev{left:-15px}
  .slider-arrow-next{right:-15px}
  .slider-dots{
    display:flex;
  }
  .slider-dots button{
    display:block;
  }
  .contact-wrapper{flex-direction:column;gap:30px}
  .contact-logo{text-align:center}
  .contact-logo img{width:40px}
}
@media (max-width: 560px){
  .cats,.req{grid-template-columns:1fr}
  .nav{height:70px}
  /* Mobile: Slider con 1 card */
  .jury{
    display:flex;
    gap:0;
  }
  .judge{
    flex:0 0 100%;
    width:auto;
  }
  .jury-wrapper{
    overflow:hidden;
  }
  .slider-arrow{
    display:block;
  }
  .slider-arrow-prev{left:0}
  .slider-arrow-next{right:0}
  .slider-dots{
    display:flex;
  }
  .slider-dots button{
    display:block;
  }
  .milestone{
    flex:0 0 100%;
    padding:0 20px;
  }
  .contact-info h2{font-size:32px}
  .footer-content{
    flex-direction:column;
    gap:16px;
    text-align:left;
  }
  .footer-right{
    justify-content:flex-start;
  }
  .parallax-bg{height:100%}
  .proximamente p{font-size:16px}
}
