/* =========================
   RESET / BASE
========================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #050f24;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   LAYOUT
========================= */
.page {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Halo de fondo */
.page::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,95,165,0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* =========================
   HEADER / LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 2.25rem;
  opacity: 0.92;
  animation: fadeDown 0.5s ease both;
}

.logo-globe {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}

.logo-globe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 16px;
  font-weight: 600;
  color: #c8deff;
  letter-spacing: 2.5px;
}

.logo-sub {
  font-size: 7px;
  color: rgba(160,195,255,0.4);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* =========================
   HERO (PERFIL)
========================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.5s 0.1s ease both;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #3a7bd5, #0a2a6e, #3a7bd5);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0d1e40;
  border: 2.5px solid #050f24;
  overflow: hidden;
  display: block; /*flex*/
  align-items: center;
  justify-content: center;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1a3a6e, #0d2050);
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-name {
  font-size: 21px;
  font-weight: 600;
  color: #e8f1ff;
  text-align: center;
}

.person-role {
  font-size: 11px;
  color: rgba(160,200,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
  text-align: center;
}

.person-bio {
  font-size: 12px;
  color: rgba(180,210,255,0.6);
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 270px;
}

/* =========================
   DIVIDER
========================= */
.divider {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,160,255,0.3), transparent);
  margin: 1.25rem auto 1.5rem;
}

/* =========================
   BUTTONS (BASE)
========================= */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 2rem;
  animation: fadeUp 0.5s 0.2s ease both;
}

.btn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1px solid rgba(80,140,240,0.28);
  background: rgba(24,60,130,0.32);
  color: #cce0ff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: all 0.18s ease;
  width: 100%;
}

.btn span.btn-label {
  flex: 1;           
  text-align: left;
}

.btn:hover {
  background: rgba(40,90,190,0.48);
  border-color: rgba(100,170,255,0.5);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Iconos originales */
.icon-wa   { background: rgba(37,211,102,0.12); }
.icon-mail { background: rgba(220,60,60,0.12); }
.icon-li   { background: rgba(10,102,194,0.18); }

/* =========================
   PERSONAS (INDEX)
========================= */
.intro {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
  animation: fadeDown 0.5s 0.1s ease both;
}
 
.intro h1 {
  font-size: 22px;
  font-weight: 600;
  color: #e8f1ff;
  margin-bottom: 6px;
}
 
.intro p {
  font-size: 12px;
  color: rgba(160,200,255,0.5);
  letter-spacing: 0.5px;
}

.team-list {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fadeUp 0.5s 0.2s ease both;
  margin-bottom: 2rem;
}

.btn-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(100,160,255,0.3);
}
 
.btn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.btn-role {
  font-size: 10px;
  color: rgba(160,200,255,0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* =========================
   SOCIAL
========================= */
.social {
  display: flex;
  gap: 18px;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s 0.3s ease both;
  justify-content: center;
  align-items: center;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(80,140,240,0.2);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.social a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(100,160,255,0.4);
}

/* =========================
   FOOTER
========================= */
.footer {
  font-size: 9px;
  color: rgba(189, 202, 232, 0.28);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 0.5s 0.35s ease both;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}