/* ============================
   SECCIÓN HEADER BANNER
   ============================ */
.container-fluid.full-width.section{
  width: 100%;
  height: 70vh;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.content-valores h3 {
    font-size: 45px;
    margin: 30px 0px;
}


.enlaces-quienes-somos h3{
  font-size: 36px;

}
.quienes-somos h1 {
  font-size: 60px;
  margin-bottom: 40px;
}

/* ============================
   RATIO VIDEO
   ============================ */
.ratio { position: relative; width: 100%; }
.ratio::before { display: block; content: ""; padding-top: calc(100% / (16/9)); }
.ratio > * {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

.video-institucional iframe { width: 100% !important; height: 100% !important; }

/* ============================
   TIMELINE GENERAL
   ============================ */
.fen-tl {
  position: relative;
  padding: 3rem 2rem 2rem;
  overflow: visible !important;     /* 🔥 NO CORTAR TOOLTIP */
  width: 100%;
  z-index: 10;                       /* sobre el fondo */
}

/* Línea */
.fen-tl__track {
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 25px;
  background: #0d3253;
  border: 3px solid #0b3a5a;
  border-radius: 30px;
  transform: translateY(-50%);
  z-index: 1;
}

/* Items */
.fen-tl__list {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  z-index: 2;
}

.fen-tl__item {
  position: relative;
  text-align: center;
}

/* Punto */
.fen-tl__point {
  position: relative;
  z-index: 20;            /* encima de la línea, debajo del tooltip */
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #3a7cb8;
  border: 5px solid #0b3a5a;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fen-tl__point:hover,
.fen-tl__point:focus-visible {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px #f2c26a88;
  outline: none;
}

/* Año */
.fen-tl__year {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0b3a5a;
}

/* ============================
   TOOLTIP PERSONALIZADO
   ============================ */

/* El tooltip debe estar SIEMPRE visible y NO recortado */
.tooltip.fen-tip {
  position: absolute !important;
  z-index: 999999 !important;       /* 🔥 Muy por encima de todo */
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  bottom: calc(100% + 12px) !important; /* 🔥 SIEMPRE encima del punto */
  left: 50% !important;
  translate: -50% 0 !important;
  overflow: visible !important;
  pointer-events: none; /* no bloquea hover */
}

/* Quitamos arrow default */
.tooltip.fen-tip .tooltip-arrow { display: none !important; }

/* Contenido */
.tooltip.fen-tip .tooltip-inner {
  position: relative;
  padding: 14px 18px;
  color: #fff;
  background: transparent;
  max-width: 500px;
  line-height: 1.35;
  overflow: visible !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  width: 400px;
}

/* Fondo */
.tooltip.fen-tip .tooltip-inner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 58, 83, 0.95);
  border-radius: 4px;
  z-index: -1;
}

/* Triángulo */
.tooltip.fen-tip .tooltip-inner::after{
  content: "";
  position: absolute;
  top: 100%; /* debajo del tooltip */
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: rgba(13, 58, 83, 0.95) transparent transparent transparent;
}

/* Líneas Punteadas (Staff) */
.link-dashed {
    stroke-dasharray: 5, 5;
    stroke: #999;
}


/* 2. Aplicarla al gráfico */
.node text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800; /* Un poco de grosor para que se lea bien */
}

/* =========================================
   CONTENEDOR FLUIDO (SIN SCROLL)
   ========================================= */
#chart-container {
    width: 100%;            /* Ocupa todo el ancho disponible */
    height: auto;           /* La altura dependerá del gráfico */
    overflow: visible;      /* 🔥 ADIÓS SCROLLBARS */
    
    /* Opcional: Si quieres quitar el borde para que se vea más integrado */
    background: transparent; 
    border: none;
    box-shadow: none;
    
    margin: 0 auto;
    display: block;
}
@media (max-width: 575.98px){
  .container-fluid.full-width.section {
    background-position: calc(50% + -25%) 50%;
  }
  .quienes-somos-text{
    display: none;
  }
}
