@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

:root{
  --bg:#050505;
  --fg:#f8f9fa;
  --muted:rgba(255,255,255,0.65);
  --accent:#b10000;
  --ease:0.5s;
  --max:1400px;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  background:var(--bg);
  color:var(--fg);
  font-family:'Inter',sans-serif;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:40px 20px;
}

/* ---------- TOP ---------- */

.top{
  width:100%;
  max-width:var(--max);
  text-align:center;
  margin-bottom:30px;
}

.top-title{
  font-family:'Orbitron',sans-serif;
  letter-spacing:6px;
  font-size:clamp(50px,6vw,90px);
}

.top-sub{
  color:var(--muted);
  letter-spacing:2px;
  margin-top:10px;
}

/* ---------- HERO ---------- */

.hero-section{
  width:100%;
  max-width:var(--max);
  border:1px solid rgba(255,255,255,0.08);
  padding:70px 40px;
  margin-bottom:30px;
  background:rgba(255,255,255,0.02);
}

.hero-content{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:40px;
  align-items:center;
}

.hero-profile img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  filter:brightness(0.85);
}

.hero-name{
  font-family:'Orbitron',sans-serif;
  letter-spacing:8px;
  font-size:clamp(36px,4vw,70px);
}

.hero-kicker{
  margin-top:15px;
  color:rgba(255,255,255,0.75);
}

.hero-manifesto{
  margin-top:8px;
  font-weight:500;
}

.hero-cta{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-btn{
  padding:12px 14px;
  text-decoration:none;
  color:white;
  border:1px solid rgba(255,255,255,0.15);
  font-size:0.75rem;
  letter-spacing:0.15em;
  transition:0.3s;
}

.hero-btn:hover{
  border-color:var(--accent);
  box-shadow:0 0 15px rgba(177,0,0,0.2);
}

.hero-microline{
  margin-top:15px;
  font-size:0.7rem;
  letter-spacing:0.2em;
  color:rgba(255,255,255,0.4);
}

/* ---------- INTRO ---------- */

.section-intro{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  width:100%;
  max-width:var(--max);
  margin-bottom:20px;
}

.section-rule{
  flex:1;
  height:1px;
  background:rgba(255,255,255,0.1);
}

.section-label{
  font-size:0.8rem;
  letter-spacing:0.2em;
  color:rgba(255,255,255,0.5);
}

/* ---------- SLIDER ---------- */

.container{
  width:100%;
  max-width:var(--max);
  display:flex;
  gap:10px;
  height:600px;
}

.panel{
  flex:1 1 0;
  min-width:0;
  position:relative;
  border-radius:30px;
  overflow:hidden;
  cursor:pointer;
  transition:flex var(--ease);
  border:1px solid rgba(255,255,255,0.06);
}

.panel.active{
  flex:5 1 0;
}

.panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
}

.panel.active img{
  filter: brightness(1);
  transform:scale(1.08);
}

.panel .content{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:2.5rem;
  background:linear-gradient(to top,rgba(0,0,0,0.95),transparent);
  transform:translateY(100%);
  opacity:0;
  transition:0.4s;
}

.panel.active .content{
  transform:translateY(0);
  opacity:1;
}

.panel h3{
  font-family:'Orbitron',sans-serif;
  letter-spacing:3px;
}

.tag{
  display:inline-block;
  margin-top:15px;
  background:var(--accent);
  padding:10px 14px;
  font-size:0.75rem;
  text-decoration:none;
  color:white;
  letter-spacing:2px;
}

/* ---------- FOOTER ---------- */

.footer{
  margin-top:30px;
  width:100%;
  max-width:var(--max);
  border-top:1px solid rgba(255,255,255,0.1);
  padding:20px 0;
  text-align:center;
  color:rgba(255,255,255,0.5);
}

/* ---------- WhatsApp ---------- */

.wa-float{
  position:fixed;
  bottom:20px;
  right:20px;
  padding:12px 16px;
  background:rgba(0,0,0,0.6);
  border:1px solid rgba(255,255,255,0.15);
  color:white;
  text-decoration:none;
  font-size:0.75rem;
  letter-spacing:0.2em;
  transition:0.3s;
}

.wa-float:hover{
  border-color:var(--accent);
}
/* ---------- RESPONSIVE (Móviles) ---------- */

@media (max-width: 768px) {
  .hero-content {
    /* Cambiamos el grid de 2 columnas a una sola columna vertical */
    display: flex;
    flex-direction: column;
    text-align: center; /* Centra todo el texto */
    gap: 30px;
  }

  .hero-profile {
    width: 100%;
    display: flex;
    justify-content: center; /* Centra la imagen horizontalmente */
  }

  .hero-profile img {
    /* Hacemos la foto circular y de un tamaño manejable en móvil */
    width: 200px;
    height: 200px;
    border-radius: 50%; 
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center; /* Centra los botones de las páginas */
  }

  .hero-name {
    font-size: 2.2rem; /* Reducimos un poco el tamaño para que no se corte */
    letter-spacing: 4px;
  }
  
  /* Ajuste para el slider en móvil */
  .container {
    height: auto; /* Que el alto dependa del contenido */
    flex-direction: column; /* Paneles apilados uno sobre otro */
    height: 700px; /* Opcional: puedes fijar un alto para que no sea eterno */
  }
}