/* ============================================
   BLOQUE BASE - MOBILE FIRST (para móviles)
   ============================================ */

/* Reset general del header */
.top-bar {
  width: 100%;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* ✅ evita scroll horizontal */
  width: 100%;
}

body {
  font-family: 'Roboto', sans-serif; /* Tipo de letra que se aplica a todo el diseño web*/
}

/* --------------------------------------------
   .top-bar-a (datos de contacto y redes)
-------------------------------------------- */
.top-bar-a {
  width: 100%;
  background-color: rgba(255, 111, 0, 0.849);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;

  /* ✅ Padding vertical controlado */
  padding-top: 0rem;
  padding-bottom: 0rem;

  /* ❗ No pongas padding: 0; porque anula lo de arriba */
  box-sizing: border-box;
}

/* Contenedor interno de top-bar-a */
.top-bar-a .contenido {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  width: 100%;
}

/* Fila con teléfono y correo */
.fila-superior {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  
}

/* Agrupamos los datos en una fila */
.top-bar-a .fila-superior {
  display: flex;
  flex-wrap: wrap;         /* ← permite bajar si no entra */
  justify-content: center; /* ← centrado en mobile */
  gap: 0.75rem;
  width: 100%;
}

/* Fila superior: solo teléfono + correo */
.top-bar-a .fila-superior-con-horario {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

/* Ítems individuales (teléfono y correo) */
.top-bar-a .fila-superior-con-horario .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Oculta el horario en mobile */
.top-bar-a .fila-superior-con-horario .item.horario {
  display: none;
}

/* Redes sociales aparte */
.top-bar-a .redes {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin-top: 0.10rem; /* ⬅️ separa hacia arriba */
}

/* Corrige el gap para el caso especial de redes sociales */
.top-bar-a .item.redes {
  gap: 1.5rem;
}

.top-bar-a .redes a {
  font-size: 1.2rem;  /*Control de los iconos de las redes*/
  color: rgba(255, 255, 255, 1);
}

/* --------------------------------------------
   .top-bar-b (logo y menú principal)
-------------------------------------------- */
.top-bar-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(18, 18, 18, 0.25);
  border-top: 1px solid #ccc;
  padding: 0.20rem 0.5rem; /* controla la altura del top bar-b*/
  margin: 0; /*Mueve la top bar-b  de arriba a abajo*/
  width: 100vw; /*Control del ancho en forma proporcional del top bar-b*/
  box-sizing: border-box;
  gap: 0;
  padding-left: 0;
  padding-right: 0;
  }

/* Fila que contiene logo y menú hamburguesa */
.top-bar-b .fila-superior-b {
  display: flex;
  justify-content: space-between; /* Logo a la izquierda, menú a la derecha */
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;
}

/*Logo*/
.top-bar-b .info-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 0; /* o 10px si prefieres, control de empuje a la derecha del logo */
}

.logo-con-texto {
  display: flex;
  align-items: center;
  gap: 0;  /*Control de espacio entre logo y texo, menos valor mas pegado el texto al logo */
  text-decoration: none;
}

.logo-con-texto img.logo {
  width: 70px;  
  height: 60px; 
}

.nombre-logo {
  font-weight: bold;
  font-size: 1rem;
  color: rgba(255, 255, 255, 1); /*Control de color del nombre del logo*/
  
}

/*Bloque de control del menú Hamburguesa*/

.top-bar-b .menu-toggle {
  cursor: pointer;
  font-size: 1.5rem; /*Control del tamaño del icono del menu Hamburguesa*/
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  background-color: rgb(61, 144, 215, 0.8); /* ✅ Fondo azul personalizable */
  color: rgba(255, 255, 255, 1);
  border-radius: 4px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.3rem; /* o 8px o lo que necesites */
  margin-top: 0.5rem; /*Para pegar el boton hamburguesa al top bar-a*/
}

.top-bar-b .menu-toggle:hover {
  background-color: rgba(61, 144, 215, 0.8);
}

.top-bar-b .menu-toggle .icono::before {
  content: "☰";
}

.top-bar-b .menu-toggle.open .icono::before {
  content: "✖";
}

.top-bar-b .info-links {
  width: 100%;
  display: none;
  flex-direction: column;
  background-color: rgba(61, 144, 215, 0.85); /* Fondo oscuro semitransparente */
  box-sizing: border-box;
  gap: 0.5rem;
  padding: 1rem 1rem;
  border-radius: 0.5rem; /* Opcional */

   /* 👇 Esta es la clave */
  flex-basis: 100%;
  order: 2;           /* Que aparezca después del logo y botón */
}

.info-links.open {
  display: flex;
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 1rem;
}

.submenu.active {
  display: flex;
}

.dropdown {
  display: flex;
  flex-direction: column;
}

.info-links a,
.submenu a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.submenu-toggle {
  font-weight: bold;
}

/* ========================================
   BLOQUE BASE - SECCIONES CONTENIDO BLANCO
   ======================================== */

body.home .seccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

body.home .seccion .texto {
  order: -1;
  width: 100%;
  padding: 0 0.5rem;
  font-size: 1.1rem; /* Controla el  tamaño de cada parrafo*/
  text-align: justify;
  line-height: 1.6;
  color: #030303;
}

body.home .seccion .texto h2 {
  font-size: 1.5rem; /*Controla el tamaño de cada titulo*/
  text-align: center;
  margin-bottom: 1rem;
  color: rgba(11, 60, 93, 1);
}

/* ========================================
   BLOQUE BASE - FONDOS POR SECCIÓN DE PÁGINA
   ======================================== */

body.home {
  background-image: url('/images/tu-imagen.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ========================================
   BLOQUE BASE - CONTENEDOR CONTENIDO BLANCO
   ======================================== */

.contenido-blanco {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.home .seccion img,
body.home .img-principal-1,
body.home .img-principal-2,
body.home .img-principal-3,
body.home .img-principal-4 {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
  object-fit: contain;
}

/* ========================================
   BLOQUE BASE - FOOTERS
   ======================================== */

.footer-azul {
  background-color: rgba(255, 111, 0, 0.849);
  color: white;
  /*text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);*/
  font-weight: 550;
  padding: 0.5rem 1rem;
}

.footer-azul .info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-azul .info-section {
  width: 100%;
  max-width: 100%;
}

.footer-azul .info-section h3,
.footer-azul .info-section p {
  margin: 0.5rem 0;
}

.footer-verde {
  background-color: rgba(142, 145, 142, 1);
  color: white;
  /*text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);*/
  text-align: center;
  padding: 0.10rem 0;
  font-size: 0.85rem;
  font-weight: 545; 
  position: relative;
  z-index: 10;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /*line-height: 1.2; *//* Opcional pero recomendable */
}

/* Inicio de bloque de texto de la web principal que se encuentra entre el top bar-b y el contendor blanco*/

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 80vh;
  margin-top: -4rem; /* Respecto al espacio que hay entre el top bar-b y el bloque de texto de abajo */
  padding-top: 1rem;
 /* background-color: #0b3c5d;*/ /* opcional, si hay fondo */
}

.hero-text {
  max-width: 90%;
}

.frase-1 {  
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: rgba(241, 241, 241, 1);
}

/*
.frase-2 {
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
*/

.frase-3 {
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 900;
  color: rgba(241, 241, 241, 1);
  font-family: 'Comic Neue', sans-serif;
}

/* Cierre de bloque de texto de la web principal*/

/*Bloque de control del sub menú de Nuestro equipo del menú Nostros*/

body.nosotros {
  background-image: url('/images/nuestro_equipo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ============================
   Texto del submenú: "Nuestro Equipo"
   ============================ */

.hero-nosotros {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 80vh;
  margin-top: -4rem;
  padding-top: 1rem;
}

.hero-nosotros .hero-text {
  max-width: 90%;
}

/* Control  de los textos entre top-bar-b y contenedor*/

.frase-nosotros-1 {
  font-size: 3rem;     /*Control del tamaño del título*/
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 500;    /*Control del grosor de las letras del texto*/
  margin-bottom: 4rem;
}

.frase-nosotros-2 {
  font-size: 1.8rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  font-weight: 800; /*Control del grosor de las letras del texto*/
  color: rgba(241, 241, 241, 1);
  margin-top: 2rem;
  font-family: 'Comic Neue', sans-serif;
}

/* ========================================
   CONTENEDOR BLANCO - SUBMENÚ: "Nuestro Equipo"
   ======================================== */

.contenido-blanco.contenido-nosotros {
  background: rgba(255, 255, 255, 0.88); /* Ligeramente más opaco que el home */
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.contenido-nosotros .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0.5rem;
}

.contenido-nosotros .inscripcion-title-proceso {
  font-size: 1.5rem;
  font-weight: 800; /*Control del grosor de las letras del titulo */
  text-align: center;
  margin-bottom: 1.2rem;
  color: rgba(11, 60, 93, 1);
}

.contenido-nosotros p {
  font-size: 1.1rem;   /*Control del grosor de las letras de los parrafos*/
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
}
/*Cierre de sub menu nuestro equipo*/

/*Control del MENÚ DE INFORMACIÓN ACADÉMICA*/
/* ========================================
   HERO ACADEMICA - BLOQUE SUPERIOR CON FONDO
   ======================================== */

body.informacion-academica {
  background-image: url('/images/academica.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.informacion-academica .top-bar-a {
  background-color: rgba(255, 111, 0, 0.849); /* naranja semi-transparente */
  padding-top: 0rem;
  padding-bottom: 0rem;
  font-size: 0.85rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

body.informacion-academica .top-bar-b {
  background-color: rgba(18, 18, 18, 0.25); /* negro semitransparente */
  border-top: 1px solid #ccc;
  padding-left: 0;
  padding-right: 0;
}

.hero.hero-academica {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 80vh;
  margin-top: -6rem; /* Ajusta según separación del top-bar-b */
  padding-top: 1rem;
}

.hero-academica .hero-text {
  max-width: 90%;
}

.frase-academica-1 {
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600; /*Control del grosor de las letras del texto*/
  margin-bottom: 0.8rem;
  color: rgba(241, 241, 241, 1);
}

.frase-academica-2 {
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600; /*Control del grosor de las letras del texto*/
  color: white;
  font-family: 'Comic Neue', sans-serif;
}

/* ========================================
   BLOQUE BASE - CONTENEDOR BLANCO Información Académica
   ======================================== */

.contenido-academica {
  background: rgba(255, 255, 255, 0.88);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.titulo-academica {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600; /*Control del grosor de las letras del texto*/
  color: rgba(11, 60, 93, 1);
  margin-bottom: 1rem;
}

.parrafo-academica {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
  color: rgba(0, 0, 0, 1);
}

/* BLOQUE INSCRIPCION*/

body.inscripcion {
  background-image: url('/images/inscripcion.jpg'); /* Asegúrate que este sea el nombre correcto */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* =======================================
   TEXTO INICIAL DEL MENÚ INSCRIPCIÓN
   ======================================= */

.hero.hero-inscripcion {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 80vh;
  margin-top: -4rem;  /* Ajusta según separación con el top-bar-b */
  padding-top: 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inscripcion .hero-text {
  max-width: 90%;
  margin: 0 auto;
}

.hero-inscripcion h2 {
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600; /*Control del grosor de las letras del texto*/
  margin-bottom: 0.8rem;
}

.hero-inscripcion p {
  font-size: 1.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 700; /*Control del grosor de las letras del texto*/
  /*color: white;*/
  font-family: 'Comic Neue', sans-serif;
}

/* BLOQUE BASE – CONTENIDO BLANCO - INSCRIPCIÓN */
.contenido-blanco.contenido-inscripcion {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.contenido-inscripcion h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0b3c5d;
}

.contenido-inscripcion h3 {
  font-size: 1.1rem; /*Controla el tamaño de texto de todos los subtitulos justificados*/
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
  text-align: left; /* o center, según tu diseño */
}

.contenido-inscripcion p {
 /* font-size: 1.1rem; */ /* Su control de tamaño de fuente está en su .ejs*/
  line-height: 1.7; 
 /* text-align: justify;*/
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 1);
}

.contenido-inscripcion ul {
  margin-left: 1.2rem;
  padding-left: 1rem;
}

.contenido-inscripcion ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem; /* Controla el tamaño de todos los parrafos internos*/
  text-align: justify;
}

.link-formulario {
  font-size: 1rem; /* ajusta según lo necesites */
  font-weight: 600;
  color: rgba(0, 0, 238, 1); /* o el color institucional que uses */
  text-decoration: underline; /* si quieres que se vea como un enlace */
  display: inline-block;
  margin: 1rem auto;
  text-align: center;
}

/*BLOQUE PREGUNTAS*/

.blog-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 0rem 1rem;
  margin-top: -1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.blog-hero .hero-text {
  color: white;
  max-width: 90%;
}

.blog-hero .hero-text h2 {
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  margin: 0rem 0;
}

.blog-hero .hero-text p {
  font-size: 1.8rem;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-family: 'Comic Neue', sans-serif;
}

/* Estilos específicos para la vista "Preguntas" cuando la clase está en <main class="preguntas"> */

main.preguntas .top-bar-a {
  background-color: rgba(61, 144, 215, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: 500; /*Control del grosor de las letras del texto*/
  text-align: center;
}

main.preguntas .top-bar-b {
  background-color: rgba(18, 18, 18, 0.25);
  padding: 0rem 1rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

/* ============================
   Bloques de Preguntas
   ============================ */

.preguntas-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.pregunta-item {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  text-align: left;
}

/*
.pregunta-item img {
  width: 80px;
  height: 40px;
  margin-bottom: 0.5rem;
}
*/

.pregunta-item h3 {
  font-size: 1.2rem;
  color: #3d90d7;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pregunta-item p {
  font-size: 1rem;
  color: rgba(0, 0, 0, 1);
  text-align: justify;
  line-height: 1.5;
  word-break: break-word;
}

.pregunta-item .correo-largo {
  font-size: 1rem; /* tamaño solo en móviles, control del tamaño del correo del item 5 */ 
  font-weight: bold;
  display: inline-block;
}

.preguntas-content > p {
  font-size: 1.1rem;
  margin-top: 2rem;
  text-align: center;
  font-weight: bold; /*Control del grosor de las letras del texto*/
  color: #000;
}

.pregunta-item img {
  width: 60px;
  height: 50px;
  margin-bottom: 0.8rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contenido-blanco.contenido-preguntas {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.preguntas {
  background-image: url('/images/preguntas.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/*
.preguntas .hero-text h2 {
  font-size: 1.8rem;  
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);        
  font-weight: 700; 
  line-height: 1.2;
  text-align: center;
  margin: 0.5rem 0;
  margin-top: -8rem;
}
*/
/*
.preguntas .hero-text p {
  font-size: 1.5rem;   
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);         
  font-weight: 600;  
  text-align: center;
  margin-top: 0.25rem;
  color: white;             
}
*/

/*Bloque BLOG*/

body.blog {
  background-image: url('/images/blog_final.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Fondo general de la vista blog */
body.blog {
  background-color: #f5f5f5; /* O usa background-image si decides añadir imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Hero text (encabezado del blog) */
.blog .hero-text {
  text-align: center;
  padding: 1.5rem 1rem;
}

.blog .hero-text h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.blog .hero-text p {
  font-size: 1.8rem;
 /* background-color: rgba(18, 18, 18, 0.25);*/
  font-weight: 700;
  color: rgba(241, 241, 241, 1);
  font-family: 'Comic Neue', sans-serif;
}

/* Contenedor blanco del blog */
.blog .contenido-blanco.contenido-blog {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  margin: 1.5rem auto;
  max-width: 95%;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.blog .imagen-articulo {
  width: 100%;
  height: 500px;             /* mantiene proporción original */
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}

.blog .imagen-articulo:hover {
    transform: scale(1.05);       /* ← agranda suavemente al pasar el mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* sombra más notoria */
    cursor: pointer;
  }

.blog .hero-text {
  text-align: center;
  padding: 1.5rem 1rem;
}

/*
.blog .hero-text h2 {
  font-size: 1.8rem;     
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  margin-top: -8rem;
}
*/

/*
.blog .hero-text p {
  font-size: 1.5rem;  
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;
  color: white;
  margin-top: 0.25rem;
}
*/

.blog .contenido-blanco.contenido-blog {
  min-height: 60vh; /* o sube a 70vh si aún se ve corto */
   margin: 0rem auto;
}

/* CONTENEDOR DEL ARTÍCULO */
.contenido-articulo {
  max-width: 95%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* TÍTULOS DEL ARTÍCULO */
.contenido-articulo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
  text-align: center;
}

/* PÁRRAFOS DEL ARTÍCULO */
.contenido-articulo p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.95);
  margin-bottom: 1.25rem;
  text-align: justify;
}

/* LINK "Volver al Blog" */
.contenido-articulo a {
  display: inline-block;
  margin-top: 1.25rem;
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

/*moviles en horizontal*/

@media (min-width: 600px) and (max-width: 899px) and (orientation: landscape) {
    
 .top-bar-a .contenido {
  display: block !important;
  padding: 0.3rem 1rem;
  box-sizing: border-box;
}

/* ✅ Fila principal en una línea */
.top-bar-a .fila-superior-con-horario {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: nowrap;
  padding: 0 1 rem;
  box-sizing: border-box ;
}

/* ✅ Teléfono */
.top-bar-a .fila-superior-con-horario .item:first-child {
  display: flex !important;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1rem;
  gap: 0.4rem;
 /* border: 1px dashed red;*/
}

/* ✅ Correo */
.top-bar-a .fila-superior-con-horario .item:nth-child(2) {
  display: flex !important;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1rem;
  gap: 0.4rem;
  /*border: 1px dashed orange;*/
  max-width: 35%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

}

/* ❌ Oculta el horario */
.top-bar-a .fila-superior-con-horario .item.horario {
  display: none !important;
}

/* ✅ Redes al extremo derecho */
.top-bar-a .fila-superior-con-horario .item.redes {
  display: flex !important;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  margin-left: 1rem;
  padding: 0;      /* 💡 empuja hacia la derecha */
  gap: 1rem;
  /*border: 1px dashed blue;*/
}

.top-bar-a .fila-superior-con-horario .item.redes a {
  color: #fff;
  font-size: 1.1rem;
}

.hero {
    margin-top: -7rem; /* ⬅️ Aquí lo insertas */
  }

  .hero {
    padding: 4rem 2rem;
  }

  .hero-text {
    max-width: 60%;
  }

  .frase-1 {
    font-size: 2.2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); 
    margin-bottom: 0.5rem; /* Menos espacio */
    text-align: center;
    font-weight: 600;
  }

  /*
  .frase-2 {
    font-size: 1.7rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    margin-top: 0; 
    margin-bottom: -1rem; 
  }
  */

  .frase-3 {
    font-size:  1.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    margin-top: 0; 
  }


.top-bar-b {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(18, 18, 18, 0.25);
    border-top: 1px solid #ccc;
    padding: 0rem 1rem;
    width: 100vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0;
    box-sizing: border-box;
  }

  /*Control de texto entre la top bar-b y el contenedor blanco en nosotros*/

  .hero-nosotros .hero-text {
  padding: 2rem 1rem 1rem;
  max-width: 90%;
  margin: 0 auto;
}

.frase-nosotros-1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
}

.frase-nosotros-2 {
  font-size: 1.8rem;
  text-align: center;
  color: rgba(241, 241, 241, 1);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;
}

  /* Texto entre top-bar-b y contenedor en "Información Académica" */
  .hero-academica {
    margin-top: -6rem; /* Puedes ajustar esto según tu gusto */
    padding: 3rem 1rem;
  }

  .hero-academica .hero-text {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }

   .frase-academica-1 {
    font-size: 2.5rem; /*Aplica*/
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); /*Aplica*/
    font-weight: 700; /*Aplica*/
    padding-top: 2rem;
    margin-bottom: 0rem;
  }

  .frase-academica-2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    color: rgba(241, 241, 241, 1);
    margin-top: 1.5rem;
  }

  /*Control de tamao de texto de  inscripción*/

/* Texto entre top-bar-b y contenedor en "Inscripción" */
.hero-inscripcion {
  margin-top: -6rem; /* Ajusta si hay mucho espacio arriba */
  padding: 3rem 1rem;
}

.hero-inscripcion .hero-text {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.hero-inscripcion .hero-text h2 {
  font-size: 2.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-inscripcion .hero-text p {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(241, 241, 241, 1);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  margin-top: 1.5rem;
}

/*Control de tamao de texto de  preguntas*/

/* 🟩 Texto entre top-bar-b y contenedor en "Preguntas" */
.preguntas .blog-hero .hero-text {
  padding: 2rem 1rem 1rem;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.preguntas .blog-hero h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 600;

}

.preguntas .blog-hero p {
  font-size: 1.8rem !important;
  font-weight: 600;
  color: rgba(241, 241, 241, 1);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  margin-top: 1rem;
}

/*Control de tamaño de texto entre top bar-b y contenedor blanco de blog*/
.blog-hero {
  margin-top: -4rem; /* Ajusta según necesites aplica */
  padding: 3rem 1rem;
}

.blog-hero .hero-text {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.blog-hero h2 {
  font-size: 2.4rem !important;
  margin-bottom: 0.5rem !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85) !important;
}

.blog-hero p {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: rgba(241, 241, 241, 1) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85) !important;
  margin-top: 1rem;
}
}

/* ================================
   TABLET: SECCIÓN HOME
   ================================ */
@media (min-width: 900px) and (max-width: 1024px) {

  body.home {
    background-size: cover;
    background-position: center;
  }

  body.home .top-bar-a,
  body.home .top-bar-b {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 0;
  }

  body.home .hero {
    padding: 40px 20px;
    text-align: center;
  }

  body.home .hero h1 {
    font-size: 2rem;
  }

  body.home .hero p {
    font-size: 1rem;
    margin-top: 10px;
  }

  body.home .contenedor-blanco {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
  }
}

/* Tablet pantalla vertical*/

@media (min-width: 600px) and (max-width: 899px) and (orientation: portrait) {
  .top-bar-a .contenido {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 12px 15px;
    box-sizing: border-box;
  }

  /* ✅ Fila 1: teléfono + correo + horario */
  .top-bar-a .fila-superior-con-horario {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 6px;
  }

  .top-bar-a .fila-superior-con-horario .item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-bar-a .fila-superior-con-horario .item.horario {
    display: flex;
  }

  /* ✅ Fila 2: redes sociales centradas */
  .top-bar-a .fila-superior-con-horario .item.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 15px;
  }

  .top-bar-a .item.redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
  }

  /* Separación entre el bloque superior y el contenedor blanco en Preguntas */
.preguntas .blog-hero {
  margin-bottom: 2.8rem; /* o el valor que necesites */
}


/* 🟩 Separación entre el texto superior y el contenedor blanco en "Blog" */
.blog-hero {
  margin-bottom: 2.9rem;
}
}

/* bloque tablet en horizontal*/

@media (min-width: 900px) and (max-width: 1024px) and (orientation: landscape) {
  .top-bar-a .contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 4px 20px;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
  }

  .top-bar-a .fila-superior-con-horario {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
  }

  .top-bar-a .fila-superior-con-horario .item {
    display: none;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
   /* border: 1px dashed rgba(255, 0, 0, 0.5);*/
  /*  background-color: rgba(255, 255, 255, 0.05);*/
  }

  /* ✅ Teléfono */
  .top-bar-a .fila-superior-con-horario .item:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: white;
    min-width: 0;
    margin-right: 6rem;
  }

  /* ✅ Correo */
  .top-bar-a .fila-superior-con-horario .item:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: white;
    min-width: 0;
    margin-right: 6rem;
  }

  /* ✅ Horario */
  .top-bar-a .fila-superior-con-horario .item:nth-child(3) {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: white;
    min-width: 0;
  }

  /* ✅ Redes sociales (último item en misma fila) */
  .top-bar-a .fila-superior-con-horario .item.redes {
    display: flex !important;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
    padding: 0;      /* 💡 empuja hacia la derecha */
    gap: 1rem;
   /* border: 1px dashed rgba(255, 0, 0, 0.911);*/
  }
  
  .top-bar-a .fila-superior-con-horario .item.redes a {
    font-size: 1.2rem;
    color: white;
    text-decoration: none; 
  }

    .frase-1 {
    font-size: 3rem !important;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.2rem; /* 🔹 separa de frase-3 */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  }

  .frase-3 {
    font-size: 1.5rem !important;
    text-align: center;
    font-weight: 600 !important;
    margin-top: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  }

}

/*BLOQUE DESKTOP*/

@media (min-width: 1025px) {

  /*Control top bar-a*/

  .top-bar-a .contenido {
    max-width: 95%; /*para mandar a los extremos telefono y redes*/
    margin: 0 auto;
    padding: 0.5rem 0rem; /* reduce espacio lateral */
  }

  .top-bar-a .fila-superior-con-horario {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    /*border: 1px solid lime;*/ /* indicador contenedor principal */
  }

  .top-bar-a .fila-superior-con-horario .item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
    min-width: 0;
   /* border: 1px dashed red;*/ /* indicador individual por bloque */
  }

  /* Mostrar el horario explícitamente (3er ítem) */
.top-bar-a .fila-superior-con-horario .item.horario {
  display: flex !important;
}


  .top-bar-a .fila-superior-con-horario .item.redes {
    margin-left: auto;
    gap: 2rem; /*Controla el espacio entre los iconos de las redes*/
    font-size: 6rem !important;
    flex: 0 0 auto;
    width: auto;
  }

  .top-bar-a .fila-superior-con-horario .item.redes a {
    color: #fff;
    transition: opacity 0.3s ease;
  }

  .top-bar-a .fila-superior-con-horario .item.redes a:hover {
    opacity: 0.8;
  }

  /* Correo y horario: centrados */
.top-bar-a .fila-superior-con-horario .item:nth-child(2),
.top-bar-a .fila-superior-con-horario .item.horario {
  margin-left: auto;
  margin-right: auto;
}

.top-bar-a .fila-superior-con-horario i {
  font-size: 1.2rem; /*Control de tamaño de iconos top bar-a*/
}

.top-bar-a .fila-superior-con-horario .item:not(.redes) span {
  font-size: 1.2rem; /*Control de tamaño de textos top bar-a*/
}

/*Control del top bar-b*/
 
.top-bar-b .fila-superior-b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px; /*ajusta el contenido de manera horizontal del top bar-b*/
    margin: 0 auto;
    padding: 0 0; /*ajusta la ajusta del top bar-b*/
    height: auto;  /* <-- deja que crezca lo necesario */
    min-height: 60px; /* opcional: asegura que tenga al menos 60px */
    flex-wrap: nowrap; /* evita que los ítems se vayan abajo si cabe */
  } 

  .top-bar-b .info-logo {
    display: flex;
    align-items: center;
  }

  .top-bar-b .logo-con-texto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
  }

  .top-bar-b .logo-con-texto .logo {
    height: 60px;
    width: auto;
  }

  .top-bar-b .logo-con-texto .nombre-logo {
    font-size: 1.2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  /* Ocultar menú hamburguesa en desktop */
  .top-bar-b .menu-toggle {
    display: none;
  }

  /* Mostrar y alinear los menús horizontales */

 .top-bar-b .info-links {
  display: flex !important;
  flex-direction: row !important; /* 🔧 Fuerza horizontal */
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-left: 0 !important;
  margin-right: 3rem;
  background-color: transparent !important; /* elimina fondo azul heredado */
  padding: 0 !important;
  width: auto !important;
  box-sizing: content-box;
  flex-wrap: nowrap;
}

  .top-bar-b .info-links > * {
    display: block;
  }

  .top-bar-b .info-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    line-height: 1.2; /* 🔧 Controla la altura vertical del texto */
    transition: color 0.3s ease;
    position: relative; /* ✅ necesario para ::after */
  }

  .top-bar-b .info-links a:hover {
    color: #66ccff;
  }

  /* Dropdown específico */
  .top-bar-b .dropdown {
    position: relative;
  }

  .top-bar-b .submenu-toggle {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
  }

  .top-bar-b .submenu-toggle:hover {
    color: #ee0505; 
  }

  .top-bar-b .dropdown .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(61, 143, 215, 0.63);/*Controla el color de fondo del contenedor del sub menu*/
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
  }

  .top-bar-b .dropdown:hover .submenu {
    display: block;
  }

  .top-bar-b .dropdown .submenu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
  }

  .top-bar-b .info-links a::after {
  content: "";
  position: absolute;
  bottom: 0px; /* distancia entre texto y línea */
  left: 0;
  width: 0%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85); /* color de la línea */
  transition: width 0.3s ease;
}

.top-bar-b .info-links a:hover::after {
  width: 100%;
}

.hero {
    padding: 4rem 2rem;      /* Más aire */
    min-height: 75vh;        /* Ajustable */
    margin-top: 0;           /* Elimina negativo si no es necesario */
    padding-top: 3rem;       /* Separación más clara del top-bar */
  }

  .hero-text {
    max-width: 900px;        /* Controla ancho del bloque */
    margin: 0 auto;
  }

  .frase-1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); /*Para darle sombra o claridad al color del texto*/
    margin-bottom: -2rem;
    font-weight: bold;
  }

  /*
  .frase-2 {
    font-size: 4rem;     
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); 
    margin-bottom: 1rem;
    font-weight: bold;
  } 
*/

  .frase-3 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); /*Para darle sombra o claridad al color del texto*/
    margin-top: 4rem;
    font-weight: 800;
  }

/*Control del contenedor blanco tanto externo e interno*/
    .contenido-blanco {
    width: 100%;
    max-width: 1100px; 
    padding:60px 5%;     /* el numero zzpx (left) arriba y abajo; el numero yypx(right) <-- y --> */
    margin: -85px auto 0px auto !important;  /* controla el margen superior en inferior  de la barra blanca*/
  }

   /*=== INICIO DE ESTILOS PARA SECCIONES CON IMAGEN Y TEXTO EN HOME DENTRO DE LA BARRA BLANCA===*/

.primera-fila {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  margin-bottom: 4rem !important;
  /*background: rgba(255, 0, 0, 0.1);*/ /* Para verificar que se aplica */
}

.primera-fila .texto p {
  flex: 1 !important;
   font-size: 1.5rem;
  text-align: justify !important;
 /* font-weight: bold; */
  padding: 0 1rem !important;

}

.primera-fila .texto h2 {
  text-align: center !important;  /* Centrado opcional */
  font-size: 2rem !important;   /* 🔧 Tamaño del título */
  font-weight: bold;
  margin-bottom: 1rem !important; /* Espacio debajo del título */
}

.primera-fila .img-principal-1 {
  flex: 1 !important;           
  max-width: 500px !important;
  height: 400px !important;
  object-fit: cover !important; /* Esto hace que el borde redondeado se respete */
  border-radius: 8px !important;
  display: block !important;
  margin: 0 auto !important;
}

.segunda-fila {
  display: flex !important;
  flex-direction: row !important; /* imagen izquierda, texto derecha */
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  margin-bottom: 4rem !important;
}

.segunda-fila .texto {
  flex: 1 !important;
  text-align: justify !important;
  font-size: 1.25rem !important;
  font-family: 'Arial', sans-serif !important;
  line-height: 1.6 !important;
  padding: 0 1rem !important;
  color: rgb(3, 3, 3) !important;
}

.segunda-fila .texto h2 {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
}

.segunda-fila .img-principal-2 {
  flex: 1 !important;
  max-width: 500px !important;
  height: 400px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  margin: 0 auto !important;
}

/*Bloque de la cuarta fila imagen+ texto -imagen principal-3*/

.tercera-fila {
  display: flex !important;
  flex-direction: row-reverse !important; 
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.tercera-fila .img-principal-3 {
  flex: 1 !important;
  max-width: 500px !important;
  height: 400px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  margin: 0 auto !important;
}

.tercera-fila .texto {
  flex: 1 !important;
  text-align: justify !important;
  font-size: 1.25rem !important;
  font-family: 'Arial', sans-serif !important;
  line-height: 1.6 !important;
  padding: 0 1rem !important;
  color: rgb(3, 3, 3) !important;
}

.tercera-fila .texto h2 {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
}

/* Cuarta fila: imagen a la izquierda, texto a la derecha */
.layout-fila.invertido {
  display: flex !important;
  flex-direction: row-reverse !important; /* Invertimos visualmente: img primero */
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.layout-fila.invertido .img-principal-4 {
  flex: 1 !important;
  max-width: 500px !important;
  height: 400px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  margin: 0 auto !important;
}

.layout-fila.invertido .texto {
  flex: 1 !important;
  text-align: justify !important;
  font-size: 1.25rem !important;
  font-family: 'Arial', sans-serif !important;
  line-height: 1.6 !important;
  padding: 0 1rem !important;
  color: rgb(3, 3, 3) !important;
}

.layout-fila.invertido .texto h2 {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
}

/*Fin de bloque de  la web principal*/

/* === ESTILOS PARA BLOQUE DE BIENVENIDA EN "Nuestro Equipo" (entre top-bar y contenido blanco) === */

body.nosotros .hero-text h2 {
  font-size: 3.5rem !important;        /* Tamaño del título */
  font-weight: 800 !important;       /* Grosor del texto */
  line-height: 1.2 !important;       /* Espaciado entre líneas */
  margin-bottom: 1rem !important;    /* Espacio inferior */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85) !important;
  text-align: center !important;
  color: #ffffff !important;
}

body.nosotros .hero-text p {
  font-size: 2.5rem !important;        /* Tamaño del párrafo */
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85) !important;
  text-align: center !important;
  margin-top: 1rem !important;
}

body.nosotros .contenido-nosotros .inscripcion-title-proceso {
  text-align: center !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: 4rem !important;
  color: rgb(10, 10, 10) !important;
}

body.nosotros .contenido-nosotros p {
  font-size: 1.25rem !important;
  font-family: 'Arial', sans-serif !important;
  line-height: 1.6 !important;
  text-align: justify !important;
  color: rgb(10, 10, 10) !important;
  margin-bottom: 2rem !important;
  padding: 0 1rem !important;
}

.contenido-nosotros {
  box-sizing: border-box;
  width: 90% !important;        /* Controla el ancho general del contenedor */
  max-width: 900px;
  padding: 10px 5% !important; /* 🔧 ACHICA los lados (izquierda y derecha) */
  margin: 0 auto;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: -85px !important; /* 🔧 Sube el contenedor para acercarse al bloque anterior */
}
/*Fin de bloque nosotros-sub menu nuestro equipo*/

/*BLOQUE DE CONTROL DE INFORMACION ACADEMICA*/
/*CONTROL DEL TEXTO ENTRE TOP BAR-B Y CONTENEDOR BLANCO*/

 .hero.hero-academica {
    margin-top: 0;           /* ✅ anula el negativo de mobile */
    padding-top: 100px;      /* ✅ deja espacio visible respecto a top-bar-b */
  }

.hero-academica .hero-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 0;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
   padding: 1rem 5rem;     /* 🔧 solo padding lateral + vertical moderado */
  
}

.hero-academica .hero-text p {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 35px; /*Control de espacio entre texto y  contenedor blanco*/
  padding: 2.5rem;  
}

/*Control del contenedor blanco*/

/* === CONTENEDOR GENERAL BLANCO === */
.contenido-blanco {
  width: 90%;
  max-width: 1200px;
  padding: 100px 5% 80px;       /* top, sides, bottom */
  margin: 0 auto;               /* centra horizontalmente */
  margin-top: 0;                /* no empuja desde afuera */
  margin-bottom: 0;
  box-sizing: border-box;
  min-height: 600px;            /* altura mínima visible */
  background: rgba(255, 255, 255, 0.88); /* asegúrate de ver el fondo blanco */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Título principal de la sección académica */

.titulo-academica {
  font-size: 3rem !important;
  font-weight: 700;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 1);
}


/* Párrafos dentro de la sección académica */
.parrafo-academica {
  font-size: 1.5rem; /* Control de los parrafos*/
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* Listas dentro de la sección académica */
.contenido-academica ul { 
  padding-left: 5rem;  /*contorla el centramiento de  Comunicación, Matemática, Ciencia y Tecnología, Personal Social*/
  margin-top: 1em;
  margin-bottom: 1em;
}

.contenido-academica li {
  font-size: 1.5rem;    /* Control de texto de Comunicación, Matemática, Ciencia y Tecnología, Personal Social*/
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/*BLOQUE CONTROL DE INSCRIPCIÓN*/

/* === BLOQUE DE HERO EN INSCRIPCIÓN === */
.hero.hero-inscripcion .hero-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  margin-top: 13rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); /* opcional para claridad */
}

.hero.hero-inscripcion .hero-text p {
  font-size: 2.5rem; /*Aplica*/
  font-weight: 800; /*Aplica*/
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85); /*Aplica*/
  margin-top: 0rem !important;
}

/* === CONTENEDOR BLANCO GENERAL === */
.contenido-blanco.contenido-inscripcion {
  width: 90%;
  max-width: 1200px;
  padding: 40px 5% 80px; /* top, sides, bottom */
  margin: 60px auto;     /* control externo arriba y abajo */
  margin-top: 12px !important;  /*Control de espacio arriba del contenedor blanco*/
  margin-bottom: 0; /*Control de espacio abajo del contenedor blanco*/
  box-sizing: border-box;
}

/* === TÍTULO PRINCIPAL === */
.inscripcion-title-proceso {
  text-align: center;
  font-size: 3rem !important;
  font-weight: 700;
  margin-bottom: 3rem;
  color: rgba(11, 60, 93, 1) !important; /* azul oscuro en rgba */
}

/* === PÁRRAFO INTRODUCTORIO === */
.contenido-inscripcion > .container > p {
  font-size: 1.5rem !important;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 1); /* negro real */
}

/* === BLOQUE GENERAL DE PASOS === */
.inscripcion-steps {
  line-height: 1.7;
  color: rgba(17, 17, 17, 1); /* tono casi negro */
  /* No se asigna font-size aquí para no forzar todo */
}

.inscripcion-step {
  margin-bottom: 5rem;
}

.inscripcion-step-title {
  font-size: 1.5rem !important; /*Controla los subtitulos 1-4*/
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(10, 10, 10, 1);
}

.inscripcion-list {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.inscripcion-list li {
  font-size: 1.5rem !important; /*Controla los parrafos de cada subtitulo*/
  margin-bottom: 0.75rem;
}

/* Enlace del formulario */
.link-formulario {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  color: #3d90d7;
  text-decoration: underline;
}

/* === BLOQUE FINAL (dudas o consultas) === */
.inscripcion-steps > p:last-of-type {
  font-size: 1.5rem !important;
  margin-top: 2rem;
  text-align: center;
  color: rgba(17, 17, 17, 1);
}

/* === HERO PREGUNTAS (bloque superior con fondo) === */

   .blog-hero.hero-preguntas .hero-text .titulo-preguntas {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    margin-top: 15rem !important;
    margin-bottom: 1rem !important;
  }

  .blog-hero.hero-preguntas .hero-text .parrafo-preguntas {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    margin-bottom: 8rem !important;
    padding-bottom: 185px !important;
  }

/* === CONTENEDOR GENERAL BLANCO === */
.contenido-blanco.contenido-preguntas {
  width: 90%;
  max-width: 1200px;
  padding: 40px 5% 80px;
  margin-top: -90px;
  margin-bottom: 0;
  box-sizing: border-box;
}

/* === SECCIÓN DE TEXTO GENERAL EN PREGUNTAS === */
body.preguntas .seccion .texto {
  text-align: justify;
  font-size: 1.25rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding: 0 1rem;
  color: rgb(3, 3, 3);
}

/* === TÍTULOS INTERNOS EN PREGUNTAS === */
body.preguntas .seccion .texto h2 {
  text-align: justify;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* === GRID DE PREGUNTAS === */
.preguntas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

/* === CENTRAR ÚLTIMO CUADRO (13) === */
.preguntas-grid > .pregunta-item:nth-child(13) {
  grid-column: 2 / 3;
}

/* === CUADRO INDIVIDUAL === */
.pregunta-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

/* === EFECTO HOVER === */
.pregunta-item:hover {
  transform: translateY(-5px);
}

/* === IMAGEN DENTRO DEL CUADRO === */
.pregunta-item img {
  width: 50px;
  height: 40px;
  display: block;
  margin: 0 auto 10px;
}

/* === TÍTULO DE LA PREGUNTA === */
.pregunta-item h3 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 10px;
  color: #3d90d7;
}

/* === PÁRRAFO DE LA PREGUNTA === */
.pregunta-item p {
  font-size: 1.25rem;
  color: #333;
  text-align: justify;
}

/* === PÁRRAFO FINAL (AL PIE) === */
.preguntas-content > p:last-of-type {
  font-size: 1.5rem !important;
  margin-top: 3rem;
  text-align: center;
  font-weight: bold;
  color: #000;
}

/*Control paara el menú Blog*/

/* === BLOQUE HERO BLOG (DESKTOP) === */


.blog-hero .hero-text h2 {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-top: 15rem !important;  
  margin-bottom: 1rem !important;
}

.blog-hero .hero-text p {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  margin-top: 0;
  margin-bottom: 100px !important;
}

.contenido-blanco.contenido-blog {
  width: 95% !important;
  max-width: 1500px !important; /* ← Este valor limita el crecimiento de la imagen */
  margin: 0 auto !important;
  padding: 20px 0% 60px 0% !important;
  background: #fff;
}

   .blog .imagen-articulo {
    max-width: 1100px;
    max-height: none;      /* ← Quita el límite */
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }


/*Bloque footer desktop*/

    .footer-azul .info-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Espacio entre columnas */
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto; /* Centrar el contenedor */
    padding: 1rem 2rem;
    box-sizing: border-box;
  }

  .footer-azul .info-section {
    flex: 1; /* Distribuye igual entre las 3 */
    max-width: 33.33%;
  }

  .footer-azul .info-section.centro {
    text-align: center;
  }

    .footer-azul .info-section.derecha {
    text-align: right;
   /* padding-right: 0.5rem; *//* Ajusta si quieres pegar más */
  }


  .footer-azul .info-section.izquierda {
 /* align-self: flex-start;*/
    text-align: left;
    }

  .footer-azul .info-section h3,
  .footer-azul .info-section p {
    margin: 8px 0;
  }

.footer-azul .info-section.derecha p {
  display: flex;
  justify-content: flex-end; /* Empuja ícono + texto a la derecha */
  align-items: center;
  gap: 0.4rem;
  margin: 8px 0;
  padding: 0;
  text-align: right;
}

/* Ajuste solo para la primera línea: “Lima - Perú” */
.footer-azul .info-section.derecha p:first-child {
  justify-content: flex-start;  /* ✅ mueve ícono + texto hacia la izquierda */
  padding-left: 13rem; /* Ajusta si quieres separarlo del borde */
}

  .footer-verde p {
    font-size: 1.1rem;  /* Aumenta ligeramente. Puedes probar con 1.2rem */
    font-weight: 500;   /* Opcional: un poco más grueso para mejorar visibilidad */
    text-align: center; /* Por si deseas que siempre esté centrado */
  }
}


























