/* === EQUIPO PAGE === */

/* =================== HERO =================== */
.equipo-hero {
  min-height: 50vh;
  background: rgba(10, 22, 40, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height, 70px) + 2rem) 1.5rem 3rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.equipo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.equipo-hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.equipo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.equipo-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-weight: 300;
}

/* =================== SECCIÓN 1: HISTORIA =================== */
.historia {
  background: #050D1A;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.historia-container {
  max-width: 900px;
  margin: 0 auto;
}

.historia h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  line-height: 1.3;
}

.historia-text p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.historia-divider {
  width: 120px;
  height: 1px;
  background: var(--color-gold);
  margin: 3rem auto 0;
}

/* =================== SECCIÓN 2: PERFILES =================== */
.perfiles {
  background: #0A1628;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.perfiles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.perfiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.perfil-card {
  background: rgba(5, 13, 26, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 48px 40px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.perfil-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.12);
}

.perfil-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #2C5F7F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.perfil-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.perfil-role {
  color: var(--color-gold);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.perfil-section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(212, 175, 55, 0.8);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.perfil-formacion {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.perfil-formacion li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  padding-left: 4px;
}

.perfil-bio p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.perfil-bio p:last-child {
  margin-bottom: 0;
}

/* =================== SECCIÓN 3: LABORATORIO VIVO =================== */
.laboratorio {
  background: #050D1A;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.laboratorio-container {
  max-width: 900px;
  margin: 0 auto;
}

.laboratorio h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.laboratorio-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 4rem;
  font-weight: 300;
}

.laboratorio-timeline {
  position: relative;
  padding-left: 40px;
}

.laboratorio-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.lab-item {
  position: relative;
  margin-bottom: 36px;
}

.lab-item:last-child {
  margin-bottom: 0;
}

.lab-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #050D1A;
  border: 2px solid var(--color-gold);
}

.lab-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.lab-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
}

/* =================== SECCIÓN 4: SISTEMA CREADO =================== */
.sistema-creado {
  background: #0A1628;
  padding: 80px 1.5rem;
  position: relative;
  z-index: 2;
}

.sistema-creado-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sistema-creado-box {
  background: #050D1A;
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  padding: 60px 48px;
}

.sistema-creado-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.sistema-creado-attr {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.sistema-creado-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.sistema-creado-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .perfiles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .perfil-card {
    padding: 36px 24px;
  }

  .perfil-avatar {
    width: 110px;
    height: 110px;
    font-size: 2.8rem;
  }

  .perfil-name {
    font-size: 1.3rem;
  }

  .laboratorio-timeline {
    padding-left: 32px;
  }

  .lab-dot {
    left: -32px;
    width: 14px;
    height: 14px;
  }

  .sistema-creado-box {
    padding: 40px 24px;
  }

  .sistema-creado-quote {
    font-size: 18px;
  }

  .sistema-creado-buttons {
    flex-direction: column;
  }

  .sistema-creado-buttons .btn,
  .sistema-creado-buttons .btn-ghost-gold {
    width: 100%;
    text-align: center;
  }
}

/* =================== LIGHT THEME =================== */
body[data-theme="light"] .equipo-hero {
  background: rgba(245, 243, 238, 0.86);
}

body[data-theme="light"] .equipo-hero h1 {
  color: var(--color-cosmos);
}

body[data-theme="light"] .equipo-hero-subtitle {
  color: rgba(42, 42, 42, 0.6);
}

body[data-theme="light"] .historia {
  background: #F5F3EE;
}

body[data-theme="light"] .historia-text p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .perfiles {
  background: #F0EBE0;
}

body[data-theme="light"] .perfil-card {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .perfil-name {
  color: var(--color-cosmos);
}

body[data-theme="light"] .perfil-formacion li {
  color: rgba(42, 42, 42, 0.7);
}

body[data-theme="light"] .perfil-bio p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .laboratorio {
  background: #F5F3EE;
}

body[data-theme="light"] .laboratorio-intro {
  color: rgba(42, 42, 42, 0.7);
}

body[data-theme="light"] .lab-dot {
  background: #F5F3EE;
}

body[data-theme="light"] .lab-item p {
  color: rgba(42, 42, 42, 0.7);
}

body[data-theme="light"] .sistema-creado {
  background: #F0EBE0;
}

body[data-theme="light"] .sistema-creado-box {
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .sistema-creado-quote {
  color: var(--color-cosmos);
}

body[data-theme="light"] .sistema-creado-text {
  color: rgba(42, 42, 42, 0.7);
}
