    *{
     margin:0;
     padding:0;
     box-sizing:border-box;
     font-family:'Poppins', sans-serif
    }


/* Poppins Light */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Poppins Regular */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Poppins SemiBold */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Poppins Bold */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

body{
background:#f5f7fa;
color:#1f2d3d
}

.encabezado{
  
    position: relative;   /* crea un contexto */
    z-index: 2;           /* capa superior */
    background: url('img/Imagen_Encabezado_op2.png');
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 700px;
    color: white;
    padding-bottom: 80px;
    clip-path: ellipse(97% 101% at 50% 0%);
    

   }

.navbar {
  display: flex;
  justify-content:flex-start;
  align-items: center;
  gap:20px;
  padding: 10px 40px;
  box-shadow:0 2px 10px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 2000;
 background: linear-gradient(135deg, #002f5f, #005fa3);
}

.menu {
  display: flex;
  list-style: none;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: black;
  cursor:pointer;
  transition: opacity 0.3s;
  padding: 7px 0px;

}

.menu li:hover {
  opacity: 0.7;
}
.menu li::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.2s ease;
}

.menu li:hover::after {
  width: 100%;               /* aparece la línea */
}

/* Enlaces del menú */
.menu li a {
  color: white;             /* texto blanco */
  text-decoration: none;    /* sin subrayado */
  font-size: 1.2rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.menu li a:active {
  color: white;
  text-decoration: none;
}

/* Cuando el enlace ya fue visitado */
.menu li a:visited {
  color: white;
  text-decoration: none;
}

/* Hover */
.menu li a:hover {
  opacity: 0.7;
}

.cont_encabezado{
  
  padding: 80px 20px;

}
.titulo01{
    margin-left: 100px;
    font-size: 2.9rem;
    letter-spacing: 5px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}


.texto_lineas {
  margin-left: 100px; /* 👈 margen izquierdo solicitado */
}

.titulo01_lineas {
  display: flex;              /* CLAVE */
  align-items: center;        /* Centra verticalmente */
  gap: 10px;                  /* Espacio entre línea y texto */
  color: white;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* Líneas antes y después */
.titulo01_lineas::before,
.titulo01_lineas::after {
  content: "";
  width: 50px;                /* 👈 CAMBIA AQUÍ EL LARGO */
  height: 2px;                /* Grosor */
  background-color: white;    /* Color de línea */
  flex-shrink: 0;             /* Evita que se deformen */
}
.titulo02_cont{
    margin-top: 60px;
    margin-left: 100px;
}

.titulo02_cont .titulo02 {
  color: #093963; /* 👈 azul profesional */
  font-size: 1.1rem;
  margin: 4px 0;
}

.botones {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  margin-left: 100px;
}

/* BASE DE LOS BOTONES */
.botones button {
  padding: 24px 48px;
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: white;                 /* Texto blanco */
  border: none;
  border-radius: 10px;          /* Bordes redondos */
  cursor: pointer;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              opacity 0.3s ease;
}

/* BOTÓN VERDE (PRIMARY) */
.btn-primary {
 background-color: #28a745;;
}
/* BOTÓN AZUL (SECONDARY) */
.btn-secondary {
  background-color: #007bff;
}
.fondo-degradado{

position: relative;   /* ✅ necesario */
z-index: 1;           /* ✅ debajo del header */
background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  margin-top: -90px;
  padding: 0px 100px 80px;
}

.fondo-degradado::before {
  content: "";
  display: block;
  height: 100px;
  
}
.objetivo{
  margin: 40px 180px;
}
/* decoración del contenido del objetivo*/
.objetivo-contenido{
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
/* decoración del texto del objetivo*/
.texto-objetivo{
  padding: 20px 0;
  border-top: 2px solid #003c78;
  border-bottom: 2px solid #003c78;
}
/* decoración de la palabra objetivo*/
.objetivo1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #003c78;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-shadow: black;
}
 /* decoración texto del objetivo*/
.texto-objetivo p {
  font-size: 1.0rem;
  line-height: 1.6;
  color: #0f2b4b;
  text-align: justify;
  margin: 0;
}

section {
  scroll-margin-top: 100px;
}

/*Decoración Convocatoria*/
.convocatoria{
margin: 100px 0;
}
.convocatoria-titulo{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* línea | texto | línea */
  align-items: center;
  column-gap: 20px;
  padding: 0 50px; /* márgenes izquierdo y derecho */
  margin-bottom: 60px;
  text-shadow: black;
}
.convocatoria-titulo h2{
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #003c78;
  white-space: nowrap; /* evita saltos */
}


.convocatoria-titulo .linea {
  height: 2px;
  background-color: #bbc2c9;
}

/*items convocatoria*/
.convocatoria-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /*horizontal*/
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;

}
.item{
  display: flex;
  flex-direction:column ; /* 👈 vertical */
  align-items: center;
}
/* Cada celda */
.item img {
  width: auto;
  height: 117px;
  margin-bottom: 15px;
}

.linea-item {
  width: 200px;
  height: 2px;
  background-color: #003c78;
  margin: 10px 0;
}

.item p {
  font-size: 1rem;
  color: #1f2d3d;
  line-height: 1.4;
  margin: 0px;
}
/*Decoración Colaboración*/
.colaboracion{
margin: 100px 0;
}
.colaboracion-titulo{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* línea | texto | línea */
  align-items: center;
  column-gap: 20px;
  padding: 0 50px; /* márgenes izquierdo y derecho */
  margin-bottom: 60px;
  text-shadow: black;
}
.colaboracion-titulo h2{
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #003c78;
  white-space: nowrap; /* evita saltos */
}


.colaboracion-titulo .linea1 {
  height: 2px;
  background-color: #bbc2c9;
}


.colaboracion-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden; /* respeta bordes redondeados */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.card-top {
  padding: 25px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #e5e8eb;
  
background: linear-gradient(
  135deg,
  #1f2d3d,
  #3a6073
);

}

.card-bottom {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-bottom p {
  text-align: justify;
  line-height: 1.8;
  margin: 0;
  flex: 1;
  color: #003c78;
  font-size: 1.0rem;
}

.card-icono {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  margin-top: 4px;
  color: #003c78;
  font-size: .2rem;
}

.card-icono img {
  width: auto;
  height: 60px;
}

/*Decoración Título Fechas Importantes*/
.fechas{
  
 width: 100vw;
 margin-left: calc(50% - 50vw);
 background: linear-gradient(180deg, #a2dff18e, #98d6eecb);
 color: white;
 padding: 10px 0;

  
 border-top-left-radius: 100% 90px;
 border-top-right-radius: 100% 90px;
 border-bottom-left-radius: 100% 90px;
 border-bottom-right-radius: 100% 90px;

 overflow: visible;
}

.fechas-titulo{
 
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  text-shadow: black;
}
.fechas-titulo h2{
  position: relative;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #003c78;
  padding: 0 20px; /* separación entre texto y líneas */
  white-space: nowrap;

}
/* Líneas simétricas */
.fechas-titulo h2::before,
.fechas-titulo h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 320px;          /* 👈 AQUÍ controlas el largo */
  height: 2px;
  background-color:#bbc2c9;
}

/* Línea izquierda */
.fechas-titulo h2::before {
  right: 100%;
}

/* Línea derecha */
.fechas-titulo h2::after {
  left: 100%;
}


.fechas-items {
  color:#003c78;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}


.card-fechas {
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}

.card-fechas:hover {
  transform: scale(1.05);
}

/*Modal para las Fechas*/

.modal-contenido {
  padding: 25px;
  width: 320px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  color: white;
  transition: 0.3s;
}

/* 🔵 Desarrollo */
.modal-desarrollo {
  background: #007bff;
}

/* 🟢 Registro */
.modal-registro {
  background: #28a745;
}

/* 🟡 Evento Final */
.modal-final {
  background: #d4af37;
  color: #1f2d3d; /* texto oscuro para que se vea en dorado */
}

.modal-contenido {
  transform: scale(0.8);
  opacity: 0;
}

.modal[style*="flex"] .modal-contenido {
  transform: scale(1);
  opacity: 1;
}



.cerrar-modal-fechas {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 25px;
  cursor: pointer;
}
/*comentario en iconos*/
.tooltip {
  position: relative;
}

/* texto */
.tooltip::after {
  content: "Haz clic para ver las fechas";
  position: absolute;

  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);

  background: #1f2d3d;
  color: white;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;

  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* flecha */
.tooltip::before {
  content: "";
  position: absolute;

  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: #1f2d3d transparent transparent transparent;

  opacity: 0;
  transition: opacity 0.3s;
}

/* mostrar */
.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
}

.card-fechas[data-modal="registro"]::after {
  content: "Ver Fechas de Retos";
}

.card-fechas[data-modal="desarrollo"]::after {
  content: "Ver fechas de Resultados";
}

.card-fechas[data-modal="final"]::after {
  content: "Ver Fechas de Couching de Presentación";
}

/*Decoración título Colaboradores*/
.colabo{
margin: 100px 0;
}
.colabo-titulo{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* línea | texto | línea */
  align-items: center;
  column-gap: 20px;
  padding: 0 50px; /* márgenes izquierdo y derecho */
  margin-bottom: 60px;
  margin-top: 80px;
  text-shadow: black;
}
.colabo-titulo h2{
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #003c78;
  white-space: nowrap; /* evita saltos */
}


.colabo-titulo .linea3 {
  height: 2px;
  background-color: #bbc2c9;
}


.colabo-items {
  display: flex;                 /* horizontal */
  justify-content: center;       /* centra el grupo */
  gap: 100px;                     /* espacio considerable entre ítems */
  max-width: 900px;
  margin: 0 auto;                /* centra en la página */
}

.card-colabo {
  display: flex;                 /* texto e icono en línea */
  align-items: center;           /* alineación vertical */
  gap: 20px;   
  padding: 15px 20px;                  /* espacio texto–icono */
}

.card-colabo-bottom p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #003c78;
  white-space: nowrap; /* evita que se baje */
}

card-colabo-icono img {
  width: 60px;
  height: auto;
}

/*Estilos de la galeria*/

.encabezado-galeria{
  
    position: relative;   /* crea un contexto */
    z-index: 2;           /* capa superior */
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 20px 0 10px;
    margin-top: 50px;
       
   }

.cont_encabezado-galeria{
    
    padding: 10px 20px;
    margin: 0;
    text-align: center;
}

.galeria-titulo{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* línea | texto | línea */
  align-items: center;
  column-gap: 20px;
  padding: 0 50px; /* márgenes izquierdo y derecho */
  margin-bottom: 60px;
  text-shadow: black;
}
.galeria-titulo h2{
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #003c78;
  white-space: nowrap; /* evita saltos */
}


.galeria-titulo .lineag {
  height: 2px;
  background-color: #bbc2c9;
}

.slideshow {
  max-width: 500px;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slide {
  width: 100%;
  display: none;
  cursor: pointer;
}

.slide.activo {
  display: block;
}

.galeria-miniaturas {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 80px;
}

.galeria-miniaturas img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0.5;
}

.galeria-miniaturas img:hover {
  opacity: 1;
}

.detalle-galeria {
  max-width: 900px;
  margin: 80px auto;
}

.detalle-galeria ul {
  padding-left: 20px;
}

.detalle-galeria li {
  margin-bottom: 10px;
}


/* ===== LIGHTBOX ===== */


.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-contenido {
  text-align: center;
  color: white;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  margin-bottom: 15px;
}

#lightbox-texto {
  font-size: 1rem;
  letter-spacing: 1px;
}


.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.cerrar:hover {
  color: #ccc; /* gris suave */
  transform: scale(1.2); /* pequeño efecto */
}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Flechas */
.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

.anterior { left: 30px; }
.siguiente { right: 30px; }

.flecha:hover {
  color: #ccc;
}

/* Miniaturas pro */
.galeria-miniaturas img {
  width: 50px;
  height: 50px;
  opacity: 0.6;
  border-radius: 6px;
  transition: 0.3s;
}

.galeria-miniaturas img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/*videos*/
.galeria-miniaturas img[data-type="video"] {
  position: relative;
}

.galeria-miniaturas img[data-type="video"]::after {
  content: "▶";
  position: absolute;
  color: white;
  font-size: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.thumb-video {
  position: relative;
  display: inline-block;
}

.thumb-video img {
  display: block;
}

/* Icono de play */
.thumb-video::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-size: 20px;
  color: white;
  
  background: rgba(0,0,0,0.6);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-video:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
  transition: 0.3s;
}


.modal {
  display: none;
  position: fixed;
  z-index: 5000; /* 🔥 más alto que navbar */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;   /* centrar horizontal */
  align-items: center;       /* centrar vertical */
}


