/* ============================================================
   CANDIDATOS — VERTICAL SCROLL (Sin horizontal)
   ============================================================ */

/* ─── IMPORTACIÓN DE FUENTES ─── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300;1,600&family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,300&display=swap');

@font-face {
  font-family: 'ArtegraSansBlack';
  src: url('../tipografia/black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ─── VARIABLES GLOBALES ─── */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --teal: #00353d;
  --teal-dark: #012026;
  --cream: #f5f0e8;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--teal-dark);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.header-candidatos {
  position: relative;
  width: 100%;
  min-height: 45vh;
  background: url('../recursos/HO61.png') center 40% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 53, 61, 0.7) 0%, rgba(13, 13, 13, 0.8) 100%);
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
}

.header-content h1 {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-size: clamp(3rem, 8vw, 70px);
  letter-spacing: 0.09em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.breadcrumb {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-family: 'Crimson Pro', serif;
  opacity: 0;
  transform: translateY(20px);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: bold;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  transform: scaleX(0);
}

/* ============================================================
   PRESIDENTE — SCROLL VERTICAL NORMAL
   ============================================================ */
.presidente-section {
  position: relative;
  background: var(--teal-dark);
  padding: 6rem 8rem;
}

.presidente-section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--white);
}

.section-title span {
  color: var(--gold);
}

/* Contenedor vertical de cards */
.v-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Cards de presentación */
.slide-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(2px);
}

/* Slide Principal */
.slide-card--portrait .slide-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-card--portrait .slide-img-wrap img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  filter: grayscale(20%);
  position: relative;
  z-index: 2;
}

.slide-img-bg-accent {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 85%;
  background: var(--gold);
  opacity: 0.15;
  z-index: 1;
  border-radius: 12px;
}

.slide-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slide-role {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.slide-name {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  color: #fff;
}

.slide-name span {
  color: var(--gold);
}

.slide-bio {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.slide-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-weight: 600;
}

/* Slide Estadísticas / Frases */
.slide-card--stat {
  grid-template-columns: 1fr;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.slide-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-card-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.2);
}

.slide-card-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 53, 61, 0.6) 0%, var(--teal-dark) 100%);
}

.slide-stat-content,
.slide-quote-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  max-width: 800px;
  margin: 0 auto;
}

.slide-stat-number-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}

.slide-stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 10rem);
  color: var(--gold);
  line-height: 0.85;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.slide-stat-unit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold-light);
  letter-spacing: 0.2em;
  line-height: 1;
  opacity: 0.8;
}

.slide-stat-label {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.4;
  margin: 0 auto;
}

.slide-floating-imgs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-img {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,0.1);
  width: 180px;
}

.float-img--1 {
  top: 15%;
  right: 10%;
  width: 200px;
  rotate: 5deg;
}

.float-img--2 {
  bottom: 15%;
  left: 10%;
  width: 180px;
  rotate: -8deg;
}

.slide-quote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: #fff;
  position: relative;
}

.slide-quote::before {
  content: '\201C';
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
}

.slide-quote-author {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* ============================================================
   VICEPRESIDENTE — SCROLL NORMAL
   ============================================================ */
.vice-section {
  padding: 6rem 8rem;
  background-image: url(../recursos/fondoazul.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vice-section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.vice-card {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.vice-img-col {
  position: relative;
}

.vice-img-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.vice-img-frame img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.5s;
}

.vice-img-frame:hover img {
  filter: grayscale(0%);
}

.vice-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  white-space: nowrap;
}

.vice-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vice-role {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.vice-name {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
}

.vice-name span {
  color: var(--gold);
}

.vice-bio {
  font-family: 'Crimson Pro', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.vice-quote-block {
  background: rgba(201, 168, 76, 0.05);
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
  font-style: italic;
  font-family: 'Crimson Pro', serif;
  color: rgba(255,255,255,0.8);
}

/* Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  margin: 2rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .presidente-section {
    padding: 4rem 4rem;
  }
  .slide-card {
    gap: 2rem;
    padding: 2rem;
  }
  .vice-section {
    padding: 4rem 4rem;
  }
  .vice-card {
    gap: 2rem;
  }
  .float-img {
    width: 120px;
  }
  .float-img--1 {
    width: 140px;
  }
}

@media (max-width: 900px) {
  .presidente-section {
    padding: 3rem 2rem;
  }
  .slide-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .slide-info {
    align-items: center;
  }
  .slide-bio {
    border-left: none;
    border-top: 2px solid var(--gold);
    padding-left: 0;
    padding-top: 1rem;
    text-align: center;
  }
  .slide-tags {
    justify-content: center;
  }
  .slide-card--portrait .slide-img-wrap img {
    max-width: 280px;
  }
  .slide-stat-content,
  .slide-quote-content {
    padding: 1.5rem;
    width: 90%;
  }
  .float-img {
    display: none;
  }
  .vice-section {
    padding: 3rem 2rem;
  }
  .vice-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .vice-info-col {
    align-items: center;
  }
  .vice-quote-block {
    text-align: left;
  }
  .vice-img-col {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .header-candidatos {
    min-height: 35vh;
  }
  .header-content h1 {
    font-size: 2.2rem;
    padding-top: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .slide-name {
    font-size: 2.5rem;
  }
  .slide-bio {
    font-size: 0.9rem;
  }
  .slide-stat-number {
    font-size: 4rem;
  }
  .slide-stat-unit {
    font-size: 1.2rem;
  }
  .slide-quote {
    font-size: 1.2rem;
  }
  .presidente-section .section-eyebrow,
  .vice-section .section-eyebrow {
    margin: 0 1rem;
    margin-bottom: 20px;
  }
}