body {
  background-color: rgb(243, 240, 240);
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

/* Espacio fijo arriba */
:root {
  --altura-header: 80px;
}

.espacioFijo {
  position: sticky;
  top: var(--altura-header);
  background: rgb(243, 240, 240);
  z-index: 900;
}

/* Configuración de Tipografía Fluida con Clamp */

h1 {
  text-align: center;
  /* Mínimo: 24px, Preferido: 5vw (5% del ancho), Máximo: 40px */
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-bottom: 1rem;
}

h2 {
  text-align: center;
  margin: 0;
  /* Mínimo: 20px, Preferido: 4vw, Máximo: 32px */
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h3 {
  text-align: center;
  margin: 0;
  /* Mínimo: 18px, Preferido: 3vw, Máximo: 28px */
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: rgb(51, 48, 48);
}

h4 {
  text-align: center;
  margin: 0;
  /* Mínimo: 16px, Preferido: 2.5vw, Máximo: 24px */
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: rgb(68, 61, 61);
}


/* Introducción a tema o curso */
.introduccion {
  max-width: 900px;
  margin: 20px auto;
  padding: 16px 20px;

  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;

  color: #333;

  background: #f7f9fc;
  border-left: 4px solid #2a6df4;
  border-radius: 6px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* También podemos aplicarlo a la sección de "información" para que el texto sea legible en todo dispositivo */
.informacion {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  align-items: center;
  margin: auto 0;
  padding: 0 2%;
  text-align: justify;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}


/* Estilos de título principal */

.tituloTema {
  cursor: pointer;
  transition: 0.3s ease;
  /* suaviza el cambio */
  padding: 5px 15px;
  border-radius: 10px;
}

/* Estado seleccionado */
.tituloTema.activo {
  background-color: red;
  /* color de fondo al seleccionar */
  color: white;
  font-weight: bold;
}

.tituloCurso {
  background-color: green;
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
}

/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */





/* Menú de contenidos - Definición Única */
.menu-contenido {
  list-style: none;
  padding: 0;
  width: 100%;
  position: sticky;
  top: 1%;
  align-self: flex-start;
  cursor: pointer;
  margin-bottom: 2px;

  /* TIPOGRAFÍA FLUIDA: 
     Mínimo: 16px (1rem), Ideal: 1.2vw, Máximo: 20px (1.25rem) 
     Esto hace que el texto sea legible sin importar la pantalla. */
  font-size: clamp(0.8rem, 0.88vw, 1.25rem);
}

.menu-contenido li {
  background: #f0f0f0;
  padding: 0 0 0 2%;
  margin-bottom: 4px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.menu-contenido li:hover {
  background: #d9e6ff;
  transform: translateX(5px);
  /* Pequeño efecto visual al pasar el mouse */
}

/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* Lista desplegable - submenu */
.submenu {
  display: none;
  margin-left: 15px;
  padding-left: 10px;
}

.submenu li {
  list-style: none;
  cursor: pointer;
}

/* Colores para lementos del menú */
/* Elementos de lista principales */
.menuListaPrincipal {
  color: blue;
  font-weight: bold;
}

/* Elementos de lista secundarios */
.menuListaSecundario {
  color: rgb(91, 106, 190);
}

/* Estado seleccionado para PC, Tablet y Ventana Flotante Móvil */
.menu-contenido li.seleccionado {
  background-color: #2b5797 !important;
  /* Azul intenso */
  transform: translateX(8px);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
  border: none !important;
  /* Quita el borde gris en móvil */
}

/* Forzar que el texto sea blanco cuando está seleccionado */
.menu-contenido li.seleccionado,
.menu-contenido li.seleccionado b,
.menu-contenido li.seleccionado span {
  color: #ffffff !important;
}

/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */
/* Decoración para menú de cursos */
.temaPrincipalA {
  color: blue;
}

.subTemaA {
  color: rgb(91, 106, 190);
}

/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */

/* --- ESTILOS PARA PC Y TABLET (POR DEFECTO) --- */
.menuContenidos {
  width: 20%;
  position: sticky;
  top: 170px;
  /* distancia desde arriba */
  height: max-content;
}


.cerrar-menu {
  display: none;
}

/* Oculto en PC */
#overlayMenu {
  display: none;
}

/* --- ESTILOS PARA MÓVIL (VENTANA FLOTANTE) --- */
@media (max-width: 767px) {
  .menuContenidos {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(85%, 350px);
    background: white;
    z-index: 2000;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    /* Estado inicial oculto */
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
  }

  /* Cuando el menú esté activo en móvil */
  .menuContenidos.activo {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Fondo oscuro detrás de la ventana */
  #overlayMenu.activo {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
  }

  .cerrar-menu {
    display: block;
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
  }

}

/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||| */


.contenido {
  padding: 15px;
  margin-top: 20px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
}




.menu-tituloCategoria {
  background-color: #1f2933;
  /* color de fondo */
  color: #ffffff;
  width: 40%;
  padding: clamp(0.1rem, 0.8vw, 0.8rem);
  /* espacio dinámico */
  margin-bottom: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  border-radius: 12px;
  margin: auto;
}





/* Bloque de información pra dar elementos */
.bloqueInformacion {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}



.imagenSeccion {
  display: block;
  /* Evita espacios indeseados */
  max-width: 100%;
  height: auto;
  /* Mantiene proporción */
  padding: 2%;
  margin: auto;

}

/* Sección de información, para añadir mas elementos */
.seccionInformacionV {
  /* Vertical */
  display: block;
}

.seccionInformacionH {
  /* Horizontal */
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Elementos de abreviaturas y valores */
.valoresYAbreviaturas {
  text-align: right;
  color: rgb(71, 66, 66);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-style: italic;
  margin-top: auto;

  font-size: 1.2vw;
}




.detallesAbreviatura {
  display: inline-block;
  white-space: nowrap;
  font-weight: bold;
}

/* Elementos resaltados */
.resaltado {
  color: blue;
}

/* ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */

/* Estilos para fórmulas en pantalla */
.formula-matematica {
  display: flex;
  justify-content: center;
  /* Centra horizontalmente */
  align-items: center;
  /* Centra verticalmente */

  width: auto;
  font-family: "Cambria Math", "Times New Roman", serif;
  gap: clamp(0.2rem, 1vw, 0.5rem);
  line-height: 1.2;

  padding: 0 2%;

}

/* Variables matemáticas */
.formula-matematica .variable {
  font-style: italic;
}

/* Operadores */
.formula-matematica .operador {
  font-weight: normal;
}

/* Subíndices bien proporcionados */
.formula-matematica sub {
  font-size: 0.85em;
  vertical-align: -0.2em;
}

/* Raíz cuadrada */
.raiz {
  display: inline-flex;
  align-items: flex-start;
}

/* Signo √ */
.raiz .signo {
  font-size: 1.2em;
  line-height: 1;
  margin-right: 0.05em;
  /* separación mínima */
}

/* Radicando */
.raiz .radicando {
  position: relative;
  padding-top: 0.18em;
}

/* Barra superior: inicia al final del √ */
.raiz .radicando::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3.2px;
  /* clave: NO negativo */
  width: 100%;
  border-top: 2px solid currentColor;
}

/* Fracciones */
.fraccion sup {
  font-size: 0.7em;
  vertical-align: 0.6em;
}

.fraccion sub {
  font-size: 0.7em;
  vertical-align: -0.2em;
}



/* ||||||||||||||||||||||||||||||||||||||||||| */

/* ESTILOS PARA CUADROS DE INFORMACIÓN */


.tabla {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid #000;
  max-width: 700px;
  margin: auto;
}

.celda {
  border: 1px solid #000;
  padding: 4px;
  text-align: center;
  max-width: 700px;

}

.encabezado {
  font-weight: bold;
  font-size: 1.5vw;
  background: #434853;
  color: white;
}

.p {
  color: #2e8b57;
  /* verde */
  font-weight: bold;
}

.porcentaje {
  color: #d00000;
  /* rojo */
  font-weight: bold;
}




/* Tabla de valores */

.tabla-valores {
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
  margin: auto;
  background-color: #ffffff;
}

.tabla-valores th,
.tabla-valores td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
}

.tabla-valores thead {
  background-color: #2f4f4f;
  color: #ffffff;
}

.tabla-valores tbody tr:nth-child(even) {
  background-color: #f0f0f0;
}





/* RESPONSIVE */
@media (max-width: 600px) {
  .tabla {
    grid-template-columns: repeat(2, 1fr);
  }

  .encabezado:nth-child(3),
  .encabezado:nth-child(4) {
    display: none;
  }
}

/* Estilos para video */

.video-responsive {
  position: relative;
  width: 100%;
  max-width: 900px;
  /* ancho máximo */
  margin: 0 auto;
  /* centra horizontalmente */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Estilos para imagenes de acceso a APP */
.accesoApp {
  display: block;
  width: 70%;
  margin: auto;
  cursor: pointer;
}

/* ||||||||||||||||||||||||||||||||||||||||||| */
/* Estilos para menús */
.menu-flotante {
  display: flex;
  flex-direction: column;
}

.menu-flotante a {
  text-decoration: none;
  color: #1f2933;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}

.menu-flotante a:hover {
  background: #e5f3ff;
  transform: translateX(4px);
}

.tituloSeccionMenu {
  color: green;
  margin: 0;
  padding: 0;
}

/* Separador horizontal */
.separacion-horizontal {
  display: inline-block;
  /* Para que funcione como espaciador */
}

/* ||||||||||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||||||||||| */
/* Pestañas */
/* CONTENEDOR GENERAL */
.pestanas-container {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

/* ===== BOTONES DE pestanas ===== */
.pestanas {
  display: flex;
  flex-wrap: wrap;
  /* ← CLAVE: permite varias filas */
  gap: 8px;
  justify-content: center;
  /* centrados como la imagen */
  padding: 10px;
  background: #f5f5f5;
}

/* BOTÓN */
.tab-btn {
  background: #ececec;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
  white-space: nowrap;
  flex: 0 1 auto;
}

/* Hover */
.tab-btn:hover {
  background: #dcdcdc;
}

/* Activo */
.tab-btn.activo {
  background: #36c394;
  /* verde como la imagen */
  color: #000;
}

/* ===== CONTENIDO ===== */
.tab-contenido {
  display: none;
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  margin-top: 10px;
}

.tab-contenido.activo {
  display: block;
}

/* ||||||||||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||||||||||| */
/* Lista de tabla de operadores */

/* Títulos de cada tabla */
h5.tablaOperadores {
  text-align: center;
  font-family: "Times New Roman", serif;
  font-size: 22px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Tabla */
table.tablaOperadores {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-family: "Times New Roman", serif;
  margin: auto;
}

/* Bordes */
.tablaOperadores th,
.tablaOperadores td {
  border: 1px solid #cfc0c0;
}

/* Encabezado */
.tablaOperadores thead th {
  background-color: #e2e2e2;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

/* Celdas */
.tablaOperadores td {
  padding: 8px 12px;
  text-align: center;
}

/* Primera columna alineada a la izquierda */
.tablaOperadores td:first-child {
  text-align: left;
  padding-left: 20px;
}



/* ||||||||||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||||||||||| */
/* ||||||||||||||||||||||||||||||||||||||||||| */
/* SOLO afecta imágenes dentro de pestanas */
/* Usarse cuando la imagen es muy pequeña y queremos que se amplíe al ancho del contenedor */
.imagen-tab-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.imagen-tab-wrapper img {
  width: min(100%, 1100px);
  height: auto;
  display: block;
}


/* =========================
   SECCIÓN DE PREVISUALIZACIÓN
   ========================= */
/* Audio responsive */
.audioDescarga {
  width: 100%;
  max-width: 420px;
}

/* =========================
   SECCIÓN DE DESCARGA
   ========================= */

.bloqueDescargas {
  text-align: center;
  margin: 25px auto;
  padding: 15px;
  max-width: 500px;
}

/* Título del archivo */
.mensajeParaDescarga {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

/* Botón de descarga (mejorado) */
.botonDeDescarga {
  display: inline-block;
  padding: 12px 10px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.2s ease-in-out;
}

/* Texto dentro del botón */
.textoDescargas {
  margin: 0;
  font-size: 0.95rem;
}

/* Efecto hover */
.botonDeDescarga:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3, #003f7f);
}

/* Descripción del archivo */
.descripcionDeDescarga {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}


/* ======== VENTANA FLOTANTE (MODAL) ======== */
.modal-imagen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}

/* Imagen ampliada al ancho de pantalla */
.imagen-modal {
  width: auto;
  max-width: 1200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Pequeña pista visual de que es clicable */
.imagen-ampliable {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.imagen-ampliable:hover {
  transform: scale(1.01);
}



/* ===== ===== */
/* Carrusel de imágenes */
/* ===== ===== */

/* ===== CONTENEDOR ===== */
.carrusel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

/* ===== CONTENIDO ===== */
.carrusel-inner {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

/* ===== ITEM ===== */
.carrusel-item {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== IMÁGENES ===== */
.imagenMediana {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== BOTONES ===== */
.controles {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.boton {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  margin: 0 10px;
  transition: background .3s;
}

.boton:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .boton {
    font-size: 18px;
    padding: 8px 10px;
  }

  .carrusel {
    border-radius: 8px;
  }
}

/* |||||||||||||||||||||||||||||||||||||||||| */
/* Lista de elemntos */
.listaElementos {
  list-style: none;
  /* quitamos viñeta nativa */
  margin: 0;
  padding-left: 0;
  max-width: 100%;
}

.listaElementos li {
  position: relative;
  padding-left: 1.6em;
  /* espacio para viñeta */
  text-indent: 0;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* viñeta personalizada elegante */
.listaElementos li::before {
  content: "–";
  /* puedes cambiar a • ✓ ▸ */
  position: absolute;
  left: 0;
  top: 0;
  color: #2c3e50;
  font-weight: bold;
}




/* Sección de tema */
.seccionTema {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  /* importante para sticky */
}

/* Secciones de contenido y menús */
.contenido {
  width: 80%;
}



/* Menú titulos de categoria */
.menu-tituloCategoria {
  top: 14%;
}

.imagenSeccion {
  width: 30%;
  /* Tamaño inicial en pantallas grandes */
}

/* Separador vertical */
.separacion-vertical {
  margin-top: 12rem;
}

/* Separador horizontal */
.separacion-horizontal {
  width: 5rem;
}

/* Estilos para fórmulas en pantalla */
.formula-matematica {
  font-size: 2.5vw;
}


/* ESTILOS PARA CUADROS DE INFORMACIÓN */

.filaA {
  background: #e9ecef;
}

.filaB {
  background: #e9ecef;
}

.filaC {
  background: #ffffff;
}

.filaD {
  background: #ffffff;
}

.celda {
  font-size: 1.3vw;
}

/* Tabla de valores */
.tabla-valores {
  font-size: 1.2vw;
}

/* Video responsive */
.video-responsive {
  padding-bottom: 33.70%;
  /* relación 16:9 */
}

/* Estilos para imagenes de acceso a APP */
.accesoApp {
  width: 70%;
}

/* Imagen ampliada al ancho de pantalla */
.imagen-modal {
  width: 60%;
}


/*
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  */


/* PARA TABLETAS Y DISPOSITIVOS DE TAMAÑO MEDIO */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Espacio fijo arriba */
  :root {
    --altura-header: 70px;
  }

  /* Sección de tema */
  .seccionTema {
    display: flex;
    width: 100%;
  }


  /* Secciones de contenido y menús */
  .contenido {
    width: 70%;
  }

  .menuContenidos {
    width: 30%;
    top: 140px;
    /* distancia desde arriba */
  }

  /* Menú titulos de categoria */
  .menu-tituloCategoria {
    top: 13%;
  }

  .imagenSeccion {
    width: 40%;
    /* Tamaño inicial en pantallas grandes */
  }



  /* Bloque de información para elementos */
  .bloqueInformacion {
    display: block;
  }

  /* Elementos de abreviaturas y valores */
  .valoresYAbreviaturas {
    font-size: 1.9vw;
  }

  /* Separador vertical */
  .separacion-vertical {
    margin-top: 12rem;
  }

  /* Separador horizontal */
  .separacion-horizontal {
    width: 6rem;
  }

  /* Estilos para fórmulas en pantalla */
  .formula-matematica {
    font-size: 4.2vw;
  }

  /* ESTILOS PARA CUADROS DE INFORMACIÓN */

  .filaA {
    background: #e9ecef;
  }

  .filaB {
    background: #e9ecef;
  }

  .filaC {
    background: #ffffff;
  }

  .filaD {
    background: #ffffff;
  }


  .celda {
    font-size: 2vw;
  }

  /* Tabla de valores */
  .tabla-valores {
    font-size: 2.2vw;
  }

  /* Video responsive */
  .video-responsive {
    padding-bottom: 56.70%;
    /* relación 16:9 */
  }

  /* Estilos para imagenes de acceso a APP */
  .accesoApp {
    width: 90%;
  }


  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* ||||||||||||||||||||||||||||||||||||||||||| */
  .menu-contenido {
    /* Forzamos a que en tablet sea un poco más grande */
    font-size: 1.1rem;
  }


  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* Pestañas */
  .tab-btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  /* ||||||||||||||||||||||||||||||||||||||||||| */

}

/*
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  */

/* PARA DISPOSITIVOS MOVILES Y PANTALLAS PEQUEÑAS */
@media (max-width: 767px) {


  /* Espacio fijo arriba */
  :root {
    --altura-header: 35px;
  }


  /* Sección de tema */
  .seccionTema {
    display: block;
    width: 100%;
  }

  /* Secciones de contenido y menús */
  .contenido {
    width: 95%;
  }

  .menuContenidos {
    display: none;
  }


  /* Menú titulos de categoria */
  .menu-tituloCategoria {
    top: 7%;
  }


  .imagenSeccion {
    width: 50%;
    /* Tamaño inicial en pantallas grandes */
  }


  /* Bloque de información para elementos */
  .bloqueInformacion {
    display: block;
  }

  /* Elementos de abreviaturas y valores */
  .valoresYAbreviaturas {
    font-size: 3.5vw;
  }

  /* Separador vertical */
  .separacion-vertical {
    margin-top: 7rem;
  }

  /* Separador horizontal */
  .separacion-horizontal {
    width: 4rem;
  }

  /* Estilos para fórmulas en pantalla */
  .formula-matematica {
    font-size: 6.2vw;
  }

  /* ESTILOS PARA CUADROS DE INFORMACIÓN */

  .filaA {
    background: #e9ecef;
  }

  .filaB {
    background: #ffffff;
  }

  .filaC {
    background: #e9ecef;
  }

  .filaD {
    background: #ffffff;
  }


  .celda {
    font-size: 3.8vw;
  }

  /* Tabla de valores */
  .tabla-valores {
    font-size: 4.2vw;
  }

  /* Video responsive */
  .video-responsive {
    padding-bottom: 56.70%;
    /* relación 16:9 */
  }

  /* Estilos para imagenes de acceso a APP */
  .accesoApp {
    width: 90%;
  }

  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* ||||||||||||||||||||||||||||||||||||||||||| */
  .menu-contenido li {
    padding: 0 0 0 0;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    /* Transición suave */
  }

  /* Animación al abrir el menú para ver cuál está activo */
  .menuContenidos.activo li.seleccionado {
    animation: pulsoSeleccion 0.5s ease-out;
  }



  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* ||||||||||||||||||||||||||||||||||||||||||| */
  /* Pestañas */

  .pestanas {
    justify-content: flex-start;
    overflow-x: auto;
    /* evita romper diseño */
    flex-wrap: nowrap;
    /* scroll horizontal */
    padding-bottom: 6px;
  }

  .tab-btn {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* ||||||||||||||||||||||||||||||||||||||||||| */

  /* Dar un tringulo al costado de titulo, para desplegar menú*/
  .tituloTema::after,
  .tituloCurso::after {
    content: " ▼";
    /* Símbolo de triángulo hacia abajo */
    font-size: 0.7em;
    /* Un poco más pequeño que el texto */
    margin-left: 8px;
    color: inherit;
    transition: opacity 0.2s;
  }

  .tituloTema:hover::after,
  .tituloCurso:hover::after {
    opacity: 0.7;
  }



  /* Introducción para temas y cursos */
  .introduccion {
    font-size: 1rem;
    padding: 14px;
    margin: 15px;
  }

}

/*
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
*/