/* Página equipo: fondo blanco general */
.equipo-page {
  width: 100%;
  background: #ffffff;
}

/* SESIÓN 1: HERO INSTITUCIONAL (sin fotos) */
.equipo-hero--institucional {
  position: relative;
  padding: 5.5rem min(7vw, 5rem) 4.5rem;
  overflow: hidden;
  min-height: 60vh;
}

/* Forma lateral tecnológica */
.equipo-hero__shape {
  position: absolute;
  top: 0;
  right: -18%;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, rgba(15, 95, 255, 0.12) 0%, rgba(255, 255, 255, 0) 75%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.equipo-hero__layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  gap: 2.8rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Columna de texto */
.equipo-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.equipo-badge {
  display: inline-block;
  background: rgba(15, 95, 255, 0.08);
  border: 1px solid rgba(15, 95, 255, 0.14);
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f5fff;
  width: fit-content;
}

.equipo-hero__text h1 {
  font-size: clamp(2.45rem, 3.5vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 30rem;
}

.equipo-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  max-width: 36rem;
}

.equipo-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-equipo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.87rem;
  transition: 0.2s ease;
}

.btn-equipo.primary {
  background: #0f5fff;
  color: #fff;
  box-shadow: 0 18px 35px rgba(15, 95, 255, 0.18);
}

.btn-equipo.primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 18px 45px rgba(15, 95, 255, 0.22);
}

.btn-equipo.ghost {
  background: rgba(15, 95, 255, 0.03);
  color: #0f5fff;
  border: 1px solid rgba(15, 95, 255, 0.15);
}

.btn-equipo.ghost:hover {
  background: rgba(15, 95, 255, 0.08);
}

.equipo-note {
  font-size: 0.75rem;
  color: #6b7280;
  max-width: 32rem;
}

/* Panel lateral */
.equipo-hero__panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 95, 255, 0.05);
  border-radius: 1.4rem;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 20px 50px rgba(23, 48, 105, 0.05);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.panel-header p {
  font-size: 0.7rem;
  color: #1f2937;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.5);
}

.equipo-hero__panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.panel-date {
  font-size: 0.62rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.metric {
  background: #f5f7ff;
  border-radius: 0.9rem;
  padding: 0.6rem 0.7rem;
}

.metric-label {
  font-size: 0.6rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.metric-safe {
  color: #0f5fff;
}

.panel-text {
  font-size: 0.7rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.panel-list li {
  font-size: 0.65rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.panel-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #0f5fff;
  border-radius: 999px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 1060px) {
  .equipo-hero__layout {
    grid-template-columns: 1fr;
  }
  .equipo-hero__panel {
    max-width: 380px;
  }
  .equipo-hero__shape {
    right: -30%;
    width: 65%;
  }
}

@media (max-width: 640px) {
  .equipo-hero--institucional {
    padding: 4.2rem 1.3rem 3.5rem;
  }
  .equipo-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .equipo-hero__panel {
    width: 100%;
  }
  .equipo-hero__text h1 {
    font-size: 2.3rem;
  }
  .panel-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
/* SESIÓN 2: POR QUÉ ESTE EQUIPO */
.equipo-bloque--why {
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f4f6ff 35%, #edf1ff 70%, #ffffff 100%);
  padding: 4.5rem min(7vw, 5.5rem) 4.6rem;
}

.why-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.why-header h2 {
  font-size: clamp(1.95rem, 3vw, 2.35rem);
  color: #0f172a;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}

.why-header p {
  max-width: 700px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #4b5563;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.why-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 95, 255, 0.025);
  border-radius: 1.05rem;
  padding: 1.3rem 1.25rem 1.35rem;
  backdrop-filter: blur(3px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.why-item h3 {
  font-size: 1rem;
  color: #111827;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 0.83rem;
  line-height: 1.55;
  color: #4b5563;
}

.why-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(15, 95, 255, 0.06);
  padding-top: 1.5rem;
}

.why-footer p {
  max-width: 620px;
  font-size: 0.8rem;
  color: #6b7280;
}

.why-link {
  text-decoration: none;
  font-weight: 600;
  color: #0f5fff;
  font-size: 0.82rem;
  border: 1px solid rgba(15, 95, 255, 0.13);
  padding: 0.55rem 1.03rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: 0.2s ease;
}

.why-link:hover {
  background: rgba(15, 95, 255, 0.05);
}

/* Responsive */
@media (max-width: 720px) {
  .why-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .why-header p {
    max-width: 100%;
  }
  .equipo-bloque--why {
    padding: 3.8rem 1.3rem 3.8rem;
  }
}
/* SESIÓN 3: NÚCLEO DE DIRECCIÓN (con imágenes completas) */
.equipo-nucleo {
  width: 100%;
  background: #ffffff;
  padding: 4.8rem min(7vw, 5.5rem) 4.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.nucleo-head h2 {
  font-size: clamp(1.95rem, 3vw, 2.25rem);
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.nucleo-head p {
  max-width: 720px;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Línea azul superior */
.nucleo-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(15, 95, 255, 0.18) 0%, rgba(15, 95, 255, 0) 80%);
  position: relative;
  border-radius: 999px;
}

.nucleo-line__badge {
  position: absolute;
  top: -0.95rem;
  left: 0;
  background: #0f5fff;
  color: #fff;
  font-size: 0.63rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(15, 95, 255, 0.45);
}

/* Tarjetas en tres columnas */
.nucleo-steps.nucleo-steps--three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.nucleo-step {
  background: #f6f8ff;
  border: 1px solid rgba(15, 95, 255, 0.05);
  border-radius: 1.2rem;
  padding: 1.25rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 300px;
  box-shadow: 0 14px 30px rgba(11, 62, 133, 0.02);
  transition: 0.25s ease;
  position: relative;
}

.nucleo-step--active {
  background: #ffffff;
  border: 1px solid rgba(15, 95, 255, 0.3);
  box-shadow: 0 18px 38px rgba(15, 95, 255, 0.05);
}

/* Foto dentro de cada tarjeta */
.step-photo {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(15, 95, 255, 0.1);
  background: #f2f5ff;
}

.step-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.nucleo-step:hover .step-photo img {
  transform: scale(1.03);
}

/* Detalles del texto */
.step-number {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f5fff;
  background: rgba(15, 95, 255, 0.1);
  width: fit-content;
  padding: 0.25rem 0.6rem 0.15rem;
  border-radius: 999px;
  font-weight: 600;
}

.nucleo-step h3 {
  font-size: 1rem;
  color: #0f172a;
}

.step-role {
  font-size: 0.77rem;
  line-height: 1.5;
  color: #4b5563;
  flex: 1;
}

.step-meta {
  font-size: 0.65rem;
  color: #6b7280;
}

.nucleo-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(11, 62, 133, 0.05);
}

/* Pie de sección */
.nucleo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(15, 95, 255, 0.04);
  padding-top: 1.5rem;
}

.nucleo-footer p {
  font-size: 0.8rem;
  color: #6b7280;
  max-width: 620px;
}

.nucleo-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f5fff;
  text-decoration: none;
  border: 1px solid rgba(15, 95, 255, 0.14);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: #fff;
  transition: 0.2s ease;
}

.nucleo-link:hover {
  background: rgba(15, 95, 255, 0.05);
}

/* Responsive */
@media (max-width: 720px) {
  .equipo-nucleo {
    padding: 3.8rem 1.3rem 3.8rem;
  }
  .nucleo-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .nucleo-line__badge {
    top: -1.05rem;
  }
}
/* SESIÓN 4: COLABORADORES Y NODOS EXTERNOS */
.equipo-externo {
  width: 100%;
  background: radial-gradient(circle at 10% 10%, #ffffff 0%, #f3f5ff 35%, #ffffff 90%);
  padding: 4.5rem min(7vw, 5.5rem) 4.6rem;
  position: relative;
  overflow: hidden;
}

.equipo-externo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(15, 95, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 95, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.65;
  pointer-events: none;
}

.externo-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 2.4rem;
}

.externo-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.2rem);
  color: #0f172a;
  margin-bottom: 0.7rem;
}

.externo-head p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Grid de nodos */
.externo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

/* Líneas “de red” */
.externo-grid::after {
  content: "";
  position: absolute;
  inset: 12% 3%;
  border: 1px dashed rgba(15, 95, 255, 0.15);
  border-radius: 1.5rem;
  pointer-events: none;
}

.externo-node {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 95, 255, 0.04);
  border-radius: 1.3rem;
  padding: 1.1rem 1.05rem 1.05rem;
  box-shadow: 0 12px 35px rgba(15, 95, 255, 0.03);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 165px;
  position: relative;
}

.externo-node::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid rgba(15, 95, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(15, 95, 255, 0.35);
}

.externo-node h3 {
  font-size: 1rem;
  color: #0f172a;
}

.externo-node p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #4b5563;
  flex: 1;
}

.externo-node .tag {
  display: inline-flex;
  padding: 0.35rem 0.7rem 0.3rem;
  background: rgba(15, 95, 255, 0.07);
  color: #0f5fff;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  width: fit-content;
}

.externo-node .tag-light {
  background: rgba(15, 95, 255, 0.02);
  color: #0f5fff;
}

/* Nodo destacado */
.externo-node--primary {
  border: 1px solid rgba(15, 95, 255, 0.4);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 95, 255, 0.07);
}

.externo-footer {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(15, 95, 255, 0.05);
  padding-top: 1.4rem;
}

.externo-footer p {
  font-size: 0.78rem;
  color: #6b7280;
  max-width: 640px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 720px) {
  .equipo-externo {
    padding: 3.8rem 1.3rem 3.8rem;
  }
  .externo-grid::after {
    inset: 5% 0;
  }
}
/* SESIÓN 6: GOBERNANZA Y SEGURIDAD */
.equipo-gobernanza {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  padding: 4.8rem min(7vw, 5.5rem) 4.8rem;
  position: relative;
  overflow: hidden;
}

.gobernanza-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.gobernanza-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.gobernanza-head p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Línea central azul */
.gobernanza-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 0;
}

.gobernanza-line {
  content: "";
  position: absolute;
  top: 55px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 95, 255, 0.2), rgba(15, 95, 255, 0));
  z-index: 0;
}

/* Tarjetas de gobernanza */
.gobernanza-item {
  background: #ffffff;
  border: 1px solid rgba(15, 95, 255, 0.06);
  border-radius: 1.3rem;
  padding: 1.6rem 1.3rem 1.4rem;
  box-shadow: 0 14px 40px rgba(15, 95, 255, 0.05);
  position: relative;
  text-align: center;
  z-index: 1;
  transition: 0.25s ease;
}

.gobernanza-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(15, 95, 255, 0.08);
}

.gobernanza-item h3 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.gobernanza-item p {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Íconos simbólicos hechos en CSS */
.gob-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  background: rgba(15, 95, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gob-icon::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f5fff;
  opacity: 0.25;
  animation: pulse 2.8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.25;
  }
}

/* Íconos diferenciados */
.gov-1::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #0f5fff;
  border-radius: 2px;
  transform: rotate(45deg);
}

.gov-2::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #0f5fff;
  border-radius: 2px;
}

.gov-3::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #0f5fff;
  border-radius: 50%;
}

/* Footer */
.gobernanza-footer {
  text-align: center;
  max-width: 740px;
  margin: 2.5rem auto 0;
  border-top: 1px solid rgba(15, 95, 255, 0.05);
  padding-top: 1.5rem;
}

.gobernanza-footer p {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 720px) {
  .equipo-gobernanza {
    padding: 3.8rem 1.3rem 3.8rem;
  }
  .gobernanza-line {
    display: none;
  }
  .gobernanza-item {
    text-align: left;
  }
}
/* SESIÓN 7: PRESENCIA INSTITUCIONAL */
.equipo-oficinas {
  width: 100%;
  background: #ffffff;
  padding: 4.8rem min(7vw, 5.5rem) 4.8rem;
  border-top: 1px solid rgba(15, 95, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.oficinas-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.oficinas-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  color: #0f172a;
  margin-bottom: 0.7rem;
}

.oficinas-head p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Grid de oficinas */
.oficinas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

.oficina-item {
  background: #f9fbff;
  border: 1px solid rgba(15, 95, 255, 0.05);
  border-radius: 1.3rem;
  padding: 1.5rem 1.3rem 1.4rem;
  text-align: center;
  transition: 0.25s ease;
  box-shadow: 0 12px 30px rgba(15, 95, 255, 0.03);
}

.oficina-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 95, 255, 0.06);
}

/* Ícono de ubicación (CSS puro) */
.oficina-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(15, 95, 255, 0.1);
  position: relative;
}

.oficina-icon::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 17px;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  background: #0f5fff;
  box-shadow: 0 0 10px rgba(15, 95, 255, 0.4);
}

.oficina-item h3 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.oficina-role {
  font-size: 0.78rem;
  color: #0f5fff;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.oficina-address {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 720px) {
  .equipo-oficinas {
    padding: 3.8rem 1.3rem 3.8rem;
  }
  .oficina-item {
    text-align: left;
  }
  .oficina-icon {
    margin: 0 0 1rem 0;
  }
}